home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_ghostscript.idb / usr / freeware / doc / ghostscript / 3.33 / NEWS.z / NEWS
Encoding:
Text File  |  1998-05-21  |  112.9 KB  |  3,200 lines

  1.    Copyright (C) 1989, 1995 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of GNU Ghostscript.
  4.   
  5.   GNU Ghostscript is distributed in the hope that it will be useful, but
  6.   WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility to
  7.   anyone for the consequences of using it or for whether it serves any
  8.   particular purpose or works at all, unless he says so in writing.  Refer
  9.   to the GNU Ghostscript General Public License for full details.
  10.   
  11.  
  12. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  13.  
  14. This file, NEWS, describes the changes in the most recent releases of
  15. Ghostscript.  Changes in older releases are described in history.doc.
  16.  
  17. For an overview of Ghostscript and a list of the documentation files, see
  18. README.
  19.  
  20. Within each release, news appears in the following order: Documentation,
  21. Procedures, Utilities, Drivers, Platforms, Fonts, Interpreter, Streams
  22. (included under Interpreter through release 2.9.9), Library.  Changes
  23. marked with a * were made available as patches to a previous release.
  24.  
  25. GNU Version 3.33 (5/31/96)
  26. ================
  27.  
  28. This is a re-release of Aladdin Ghostscript under the GNU Public License.
  29.  
  30. GNU Ghostscript 3.33 is identical to Aladdin Ghostscript 3.33 with the
  31. following differences:
  32.  
  33.     - COPYING, COPYLEFT, and PUBLIC replaced by COPYING containing
  34.     the GNU License.
  35.  
  36.     - All copyright notices changed to refer to the GNU License.
  37.  
  38.     - slzwe.c removed and (effectively) replaced by slzwce.c.
  39.  
  40.     - Fast landscape algorithm is disabled in gsimage.c.  (It does
  41.     not work.)
  42.  
  43.     - The X11 driver was updated to properly set the clipping region
  44.     in landscape documents.
  45.  
  46.     - 4 or 5 other minor bugs fixed, mostly in the memory manager.
  47.  
  48. The PC executables do not incorporate any of the above bug fixes.
  49.  
  50. Version 3.33 (4/13/95)
  51. ============
  52.  
  53. A few more last-minute bug fixes.  This is, finally, the first public
  54. release since 3.12.
  55.  
  56. Documentation
  57. -------------
  58.  
  59. Fixes bugs:
  60.     - There was a reference to "VAX with OSF/1", which doesn't exist,
  61. and an incorrect reference to VAX with Ultrix.  (make.doc)
  62.     - The Unix makefiles incorrectly stated that gsdatadir was only
  63. relevant to `make install'.  (ansihead.mak, cc-head.mak, dgc-head.mak,
  64. gcc-head.mak)
  65.     - Notes that DV/X users should use the zip version of the JPEG
  66. library.  (jpeg.mak)
  67.  
  68. Procedures
  69. ----------
  70.  
  71. Fixes bugs:
  72.     - A command line had gotten too long for the MS-DOS shell.
  73. (gs.mak)
  74.     - The VMS DEC C script didn't explicitly select DEC C.
  75. (vms-decc.mak)
  76.     - The VMS MODULES.LIS omitted SPDIFF and ZFPDIFF.  (modules.lis)
  77.     - The VMS script had an incorrect entry.  (vms.mak)
  78.     - The `if' fix in 3.31 broke some Unix systems with different
  79. implementations of sh.  (unix-end.mak)
  80.     - The makefile definition of gscspace_h was out of order.  (gs.mak)
  81.     - An extra ; got written in gconfig_.h on DV/X platforms.
  82. (dvx-tail.mak)
  83.     - '.' was incorrectly prepended to the library search list on DV/X
  84. platforms.  (dgc-head.mak)
  85.     - The build rules for unix*.mak didn't work on DV/X.  (unix-end.mak)
  86.  
  87. Adds a description of the -c quit switch to the help message.  (gs.c)
  88.  
  89. For the DV/X platform, changes /usr/include to /djgpp/include as the place
  90. to look for header files.  I'm not sure this is always correct.
  91. (dvx-tail.mak)
  92.  
  93. Utilities
  94. ---------
  95.  
  96. Fixes bugs:
  97.     - ps2ascii would cause an error if given a font that didn't have an
  98. 'X' character.  (ps2ascii.ps)
  99.     - ps2ascii didn't intercept the Level 2 string display operators.
  100. (ps2ascii.ps)
  101.  
  102. Drivers
  103. -------
  104.  
  105. Fixes bugs:
  106.     - The Stylus Color driver had an incorrect type name.  (gdevstc.c)
  107.  
  108. Platforms
  109. ---------
  110.  
  111. Fixes bugs:
  112.     - -dBitsPerPixel= didn't work properly for MS Windows or OS/2 PM.
  113. (gdevmswn.c, gdevpm.c)
  114.     - The Win32 platform didn't compile properly.  (memory_.h)
  115.  
  116. Fonts
  117. -----
  118.  
  119. Improves the font substitution algorithm to take the face name into account
  120. in more cases.  (gs_fonts.ps)
  121.  
  122. Library
  123. -------
  124.  
  125. Fixes bugs:
  126.     - Unrotated black-and-white bitmaps with an inverted device X axis
  127. were displaced in X.  (gsimage1.c)
  128.  
  129. Version 3.32 (4/7/95)
  130. ============
  131.  
  132. More bug fixes.  This is still not a public release.
  133.  
  134. Documentation
  135. -------------
  136.  
  137. Further clarifies the "two-phase commit" algorithm for device put_params
  138. procedures.  (drivers.doc, gsparam.h)
  139.  
  140. Adds a note about a compiler bug under Ultrix 4.4.  (make.doc)
  141.  
  142. Procedures
  143. ----------
  144.  
  145. Fixes bugs:
  146.     - Some installation scripts could fail because some implementations
  147. of sh take the status of an `if' condition as the status of the `if'
  148. command.  (unix-end.mak)
  149.  
  150. Adds "maintainer-clean" as a synonym for "real-clean".  (gs.mak)
  151.  
  152. Adds a -dORIENT1 switch that defines orientation = 1 as portrait for
  153. setpage[params].  (use.doc, gs_init.ps, gs_lev2.ps, gs_statd.ps)
  154.  
  155. Utilities
  156. ---------
  157.  
  158. Fixes bugs:
  159.     - ps2ascii didn't redirect %stdout completely.  (ps2ascii.ps)
  160.     - ps2ascii didn't preserve the local/global VM mode.  (ps2ascii.ps)
  161.     - ps2ascii didn't handle fonts with an all-zero or missing bounding
  162. box correctly.  (ps2ascii.ps)
  163.     - viewpbm didn't scale the image properly.  (viewpbm.ps)
  164.  
  165. Drivers
  166. -------
  167.  
  168. Fixes bugs:
  169.     - The CGM driver wrote out an incorrect color precision value.
  170. (gdevcgm.c)
  171.     - The SGI bitmap driver was named "sgi" rather than "sgirgb".
  172. (gdevsgi.c)
  173.     - The PCX driver didn't round up an odd line length for gray-scale
  174. output.  (gdevpcx.c)
  175.     - The PCX driver produced incorrect output for gray-scale or 4- or
  176. 8-bit color.  (gdevpcx.c)
  177.  
  178. Platforms
  179. ---------
  180.  
  181. Fixes bugs:
  182.     - The VMS MODULES.LIS file had gotten out of sync with the Unix
  183. makefiles (again).  (modules.lis)
  184.  
  185. Interpreter
  186. -----------
  187.  
  188. Fixes bugs:
  189.     - Some compilers won't accept '\l', even in the false arm of a
  190. preprocessor conditional.  (scanchar.h)
  191.     - A procedure was declared with an incorrect argument type.
  192. (zcsindex.c)
  193.     - The scaled font cache didn't copy XUIDs properly.  (bfont.h,
  194. zfont.c, zfont2.c)
  195.  
  196. Streams
  197. -------
  198.  
  199. Fixes bugs:
  200.     - The LZW filters were factored improperly.  (modules.lis, gs.mak,
  201. vms.mak, slzwx.h, slzwc.c, slzwd.c)
  202.  
  203. Changes the DCTDecode filter for compatibility with Adobe implementations:
  204.     - Ignore bytes preceding the 0xff that marks the beginning of the
  205. JPEG data.  (sdctd.c)
  206.     - Set MAX_BLOCKS_IN_MCU to 64.  (jpeg.mak, gsjpglib.h)
  207.  
  208. Library
  209. -------
  210.  
  211. Fixes bugs:
  212.     - The "two-phase commit" for device parameters wasn't fully
  213. implemented.  (gsiodev.c)
  214.     - Asking for a device color map before the device was opened could
  215. cause a crash.  (gsdparam.c)
  216.     - The scaled font cache didn't copy XUIDs properly.  (gxfont.h,
  217. gsfont.c)
  218.     - 90 or 270 degree rotated black-and-white bitmaps (including
  219. bitmapped fonts such as downloaded TrueType fonts) with an inverted device Y
  220. axis were displaced in Y.  (gsimage1.c)
  221.     - On high-resolution devices, parts of regions filled with halftones
  222. could fail to be painted.  (gxclist.c)
  223.  
  224. Version 3.31 (4/2/95)
  225. ============
  226.  
  227. A few final bug fixes for the release.  Includes significant speed
  228. improvements for CIE color, and a first draft of a low-level CGM driver.
  229.  
  230. Documentation
  231. -------------
  232.  
  233. Notes that the BJC600 driver also works for the BJC4000.  (devs.mak)
  234.  
  235. Procedures
  236. ----------
  237.  
  238. At the suggestion of a user, changes the default protections for installed
  239. files on Unix and DV/X systems from 775/664 to 755/644.  (*head.mak)
  240.  
  241. At the suggestion of a user, adds a -dNOCIE switch to substitute DeviceGray
  242. and DeviceRGB color spaces for CIEBasedA and CIEBasedABC spaces
  243. respectively.  (gs_init.ps, gs_lev2.ps)
  244.  
  245. Utilities
  246. ---------
  247.  
  248. Changes gslp and its relatives to use ISOLatin1Encoding for output, and to
  249. send almost all printout to stderr rather than stdout (for use as a filter
  250. under Unix).  (gslp.ps)
  251.  
  252. Drivers
  253. -------
  254.  
  255. Fixes bugs:
  256.     - The fax/TIFF driver no longer exported gdev_fax_print_page, which
  257. the DigiFax driver needs.  (gdevtfax.c)
  258.     - The color DeskJet drivers gave an error for BitsPerPixel=3.
  259. (gdevcdj.c)
  260.     - The "Windows printer" driver was setting its margins in points
  261. rather than inches.  (gdevwprn.c)
  262.     - The BJ10 and BJ200 drivers calculated vertical skip distances
  263. wrong.  (gdevbj10.c)
  264.     - The BJ10 and BJ200 drivers output two garbage bytes following the
  265. initialization string.  (gdevbj10.c)
  266.  
  267. Adds a preliminary driver that produces low-level CGM output.  (gdevcgml.h,
  268. gdevcgmx.h, gdevcgm.c, gdevcgml.c)
  269.  
  270. Platforms
  271. ---------
  272.  
  273. Fixes bugs:
  274.     - The VMS files had gotten out of sync with the other makefiles
  275. (again).  (modules.lis, vms.mak)
  276.     - The MS Windows and OS/2-PM drivers hadn't been updated to handle
  277. BitsPerPixel as a standard parameter.  (gdevmswn.c, gdevpm.c)
  278.  
  279. Removes the TIFF drivers from the Windows platform, and restores the BMP
  280. drivers.  (bcwin.mak)
  281.  
  282. Interpreter
  283. -----------
  284.  
  285. Fixes bugs:
  286.     - The CIE color mapping cache could produce anomalous results
  287. for the default (all zero values) color if some of the mapping
  288. functions were non-linear.  (zcie.c)
  289.     - MultiMaster font substitution got confused if substituted
  290. fonts had their FontName changed.  (gs_fonts.ps)
  291.     - A procedure was declared as private inconsistently.  (zdevcal.c)
  292.     - Some pointer relocation procedures didn't work correctly on
  293. systems with sizeof(T *) > sizeof(int).  (istack.c)
  294.     - The freelist vector wasn't large enough to handle graphics state
  295. objects on 64-bit systems, leading to severe memory sandbars.  (iastate.h)
  296.     - The debugging messages from the allocator had gotten inconsistent
  297. and hard to use.  (ialloc.c)
  298.     - Mixing save/restore with allocation could cause the GC never to
  299. get run.  (isave.c)
  300.  
  301. Speeds up the mapping of CIE colors.  (zcie.c)
  302.  
  303. Adds a .namestring operator for getting the string of a name without having
  304. to copy it.  (zstring.c)
  305.  
  306. Streams
  307. -------
  308.  
  309. Fixes bugs:
  310.     - The IJG code needed a couple more flags set for IJG v6.
  311. (gsjmorec.h)
  312.     - Some pointer relocation procedures didn't work correctly on
  313. systems with sizeof(T *) > sizeof(int).  (stream.c)
  314.  
  315. Library
  316. -------
  317.  
  318. Fixes bugs:
  319.     - The end-test for the fast case of monobit images was wrong,
  320. leading to out-of-range memory accesses.  (gsimage1.c)
  321.     - Monobit images rotated by 270 degrees displayed incorrectly.
  322. (gsimage1.c)
  323.     - If a Type 1 font used hint replacement, some parts of the outline
  324. before the hint replacement ignored the old hints.  (gstype1.c)
  325.     - Some compilers didn't accept a variable name that was the same as
  326. a macro with parameters.  (gxht.c)
  327.     - A procedure was declared as private inconsistently.  (gdevm1.c)
  328.     - Some pointer relocation procedures didn't work correctly on
  329. systems with sizeof(T *) > sizeof(int).  (gdevmem.c, gsstate.c)
  330.     - The test on FORCE_HINTS_TO_BIG_PIXELS was backwards.  This bug was
  331. supposed to have been fixed in 3.30, but somehow the fix got lost.
  332. (gstype1.c)
  333.     - 90 degree rotated monobit images could drop some scan lines.
  334. (gsimage*.c)
  335.  
  336. Speeds up the mapping of CIE colors.  (gscie.h, gxcmap.h, gscie.c, gxcmap.c)
  337.  
  338. Speeds up color images (non-interpolated, 1-8 bits per component) by adding
  339. a cache for mapped color values.  (gximage.h, gsimage.c, gsimage1.c,
  340. gsimage2.c)
  341.  
  342. Shrinks the band list file slightly by using only as many bytes as necessary
  343. for writing out colors, rather than always using 4 bytes.  (gxclist.c,
  344. gxclread.c)
  345.  
  346. Version 3.30(beta) (3/21/95)
  347. ==================
  348.  
  349. More bug fixes.  The garbage collector and PDF interpreter finally appear to
  350. work reliably.
  351.  
  352. Documentation
  353. -------------
  354.  
  355. Fixes bugs:
  356.     - language.doc had gotten out of date.  (language.doc)
  357.  
  358. Utilities
  359. ---------
  360.  
  361. Fixes bugs:
  362.     - Changes in the handling of %stdout had broken ps2ascii.
  363. (gs_dps1.ps, ps2ascii.ps)
  364.  
  365. Improves ps2ascii to skip empty strings and not output redundant font
  366. changes.  (ps2ascii.ps)
  367.  
  368. Drivers
  369. -------
  370.  
  371. Fixes bugs:
  372.     - The fax and TIFF drivers didn't free all their working storage.
  373. (This bug was fixed in 3.27, and the fix somehow got lost.)  (gdevtfax.c)
  374.  
  375. Adds new drivers:
  376.     - sgirgb, to produce SGI RGB raster files.  (gdevsgi.c)
  377.     - tiffcrle, to produce output in TIFF "CCITT 1-dimensional Huffman
  378. RLE" format (Group 3 fax with no EOLs). (gdevtfax.c)
  379.     - tifflzw, to produce output in TIFF LZW format (using the existing
  380. CCITTFaxEncode filter code). (gdevtfax.c)
  381.     - tiffpack, to produce output in TIFF PackBits format. (gdevtfax.c)
  382.  
  383. Interpreter (PostScript)
  384. ------------------------
  385.  
  386. Fixes bugs:
  387.     - If the current screen was set with a halftone, setcolorscreen
  388. wouldn't accept what currentcolorscreen returned.  (gs_dps1.ps)
  389.     - debug_print_full_ref didn't print t_oparray objects correctly.
  390. (idebug.c)
  391.     - The internal data for a font could be allocated in a different VM
  392. space from the font dictionary, causing dangling pointers.  (zfont2.c)
  393.     - definefont became confused if a program failed to delete the FID
  394. from a re-encoded font.  (This is questionable PostScript, but dvips does
  395. it.)  (zfont2.c)
  396.     - If a BuildChar procedure did a save before the setcachedevice and
  397. a restore afterwards, the memory manager would attempt to free the cache
  398. device after it had already been freed by the restore, leading to damaged
  399. freelists.  (gschar.c)
  400.     - setresolution (in statusdict) was ignored.  (gs_lev2.ps,
  401. gs_statd.ps)
  402.     - If a string containing a string containing a \ was passed to the
  403. token operator, the \ was not recognized properly in a Level 2 environment.
  404. (iscan.c)
  405.     - A couple of default dictionary sizes had become too small.
  406. (iinit.c)
  407.  
  408. Makes DOS EOF (control-Z, 0x1a) a self-delimiting token, like left bracket.
  409. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, but it should not have any adverse
  410. effects.  (gs_init.ps, iscan.c, iscantab.c)
  411.  
  412. Distinguishes arch_small_memory from arch_ints_are_short, and adds a new
  413. -Z. switch to force small-memory table sizes regardless of actual memory
  414. size.  (dstack.h, idict.c, zpcolor.c, zvmem2.c)
  415.  
  416. Interpreter (PDF)
  417. -----------------
  418.  
  419. Fixes bugs:
  420.     - A page with no Contents caused an error.  (pdf_main.ps)
  421.     - Executing a Form resource caused an error.  (pdf_draw.ps)
  422.     - Outlines with open entries caused an error.  (pdf_main.ps)
  423.     - Embedded Type 3 fonts caused an error.  (pdf_draw.ps, pdf_font.ps)
  424.     - The Widths array of fonts was ignored.  (pdf_font.ps)
  425.  
  426. Library
  427. -------
  428.  
  429. Fixes bugs:
  430.     - Freeing an entry in the pattern cache didn't clear the pointers to
  431. the raster data, producing a dangling reference that confused the garbage
  432. collector.  (gxpcmap.c)
  433.     - The test on FORCE_HINTS_TO_BIG_PIXELS was backwards.  (gstype1.c)
  434.     - The pattern cache bookkeeping was incorrect.  (gxpcmap.c)
  435.     - Depending on the order in which pointers were relocated, the
  436. garbage collector could incorrectly relocate pointers from the character
  437. cache.  (gxfcache.h, gsfont.c, gxccache.c, gxccman.c)
  438.  
  439. Changes the fast case of black-and-white images so it aligns scaled images
  440. with the device coordinate system, to improve performance.  (gsimage1.c)
  441.  
  442. Extends the coordinate transformation routines to handle absurdly large
  443. translation values in the CTM as long as the final device device coordinates
  444. are within fixed-point range.  (gxmatrix.h, gxpath.h, gschar.c, gscoord.c,
  445. gsmatrix.c, gxhint2.c, gxpath2.c)
  446.  
  447. Distinguishes arch_small_memory from arch_ints_are_short, and adds a new
  448. -Z. switch to force small-memory table sizes regardless of actual memory
  449. size.  (gdevprn.h, gxpcolor.h, gzht.h, std.h, gsfont.c, gsht1.c, gspaint.c,
  450. gsstate.c, gxcht.c, gxht.c, gxpcmap.c)
  451.  
  452. Version 3.29(internal) (3/8/95)
  453. ======================
  454.  
  455. Another bug-fix release.  This release processes all but 7 of the 500+ files
  456. on the Adobe Acrobat Sampler CD-ROM without giving an error.  The garbage
  457. collector finally appears to be stable.  This version was created for a
  458. customer; it was not released to the general public or even to the beta test
  459. list.
  460.  
  461. Documentation
  462. -------------
  463.  
  464. Documents the possible need to set LD_RUN_PATH on SVR4 platforms.
  465. (make.doc)
  466.  
  467. Expands the description of the device life cycle, and of the constraints on
  468. put_params procedures.  (drivers.doc)
  469.  
  470. Adds an explicit copyright notice to the Aladdin Ghostscript Free Public
  471. License.  (PUBLIC)
  472.  
  473. Clarifies that the Win32s documentation also applies to Windows NT.
  474. (make.doc)
  475.  
  476. Procedures
  477. ----------
  478.  
  479. Removes the obsolete writeppmfile operator from the standard configurations.
  480. (gs.mak)
  481.  
  482. Changes the Watcom makefiles to work properly with Watcom C/C++ 10.0.
  483. (make.doc, msc.mak, watc.mak, watcwin.mak, wccommon.mak)
  484.  
  485. Utilities
  486. ---------
  487.  
  488. Adds a wftopfa utility for converting the Wadalab fonts to usable Type 0 and
  489. Type 1 form.  (wftopfa)
  490.  
  491. Fonts
  492. -----
  493.  
  494. Fixes bugs:
  495.     - Entries added automatically by definefont (FontInfo, ExactSize)
  496. could cause a font dictionary to become full.  (gs_fonts.ps, gs_type1.ps)
  497.     - wrfont.ps couldn't deal with very long CharStrings.  (wrfont.ps)
  498.  
  499. Makes the name of the Fontmap file an easily editable parameter.
  500. (gs_fonts.ps)
  501.  
  502. Adds a utility for converting the Wadalab font to usable Type 0 and Type 1
  503. form.  (wrfont.ps, wftopfa.ps)
  504.  
  505. Drivers
  506. -------
  507.  
  508. Fixes bugs:
  509.     - The top margin for printer (and fax) devices was computed
  510. incorrectly, using the X resolution rather than the Y resolution.
  511. (gdevprn.h)
  512.     - Changing the page size or resolution of a printer device closed
  513. and reopened the device unnecessarily.  (gdevprn.c)
  514.     - Changing the page size of the X11 device didn't change the initial
  515. matrix, so (0,0) didn't wind up in the lower left corner.  (gdevx.c)
  516.     - The bit devices didn't allow changing the number of bits per
  517. pixel.  (gdevbit.c)
  518.  
  519. Adds a settable .IsPageDevice boolean device parameter to the X Windows
  520. driver.  The default value is true.  (gdevx.h, gdevx.c)
  521.  
  522. Changes the PPM driver so that it chooses between PBM/PGM/PPM on a
  523. page-by-page basis, rather retaining the most general format ever required
  524. by any page.  (gdevpbm.c)
  525.  
  526. Interpreter (PostScript)
  527. ------------------------
  528.  
  529. Fixes bugs:
  530.     - The current page device could be null, rather than an empty
  531. dictionary.  (igstate.h, zchar.c, zdevice.c, zdevice2.c, zgstate.c)
  532.     - The scanner didn't signal an error for names or strings that were
  533. too long.  (iscan.c)
  534.     - A missing header file upset the VAX compilers.  (ztype.c)
  535.     - Some places expecting dictionary operands didn't check the type,
  536. because they incorrectly assumed that the dict_check_read/write macro did
  537. this.  (idict.h, zdevice2.c, zht2.c, zmisc2.c)
  538.     - The definition of quit in systemdict wasn't disabled within
  539. encapsulated jobs.  (gs_lev2.ps)
  540.     - resetfile gave an error if the file was closed, rather than doing
  541. nothing.  (zfileio.c)
  542.     - The scanner attempted to free an uninitialized pointer if it
  543. reached EOF after a / or //.  (iscan.c)
  544.     - A restore in a different file than the corresponding save caused
  545. an invalidrestore error.  (gs_init.ps)
  546.     - The default value of EndOfData in RunLengthDecode streams was set
  547. to false.  (zfilter.c)
  548.     - .registerencoding didn't invoke the save machinery correctly,
  549. leading to GC problems.  (zfont2.c)
  550.     - The facility for overriding .printerror didn't work correctly.
  551. (gs_init.ps)
  552.     - gs_run_file_open wasn't public.  (gsmain.c)
  553.     - The interpreter returned e_undefined for undefined error names,
  554. rather than the error code.  (interp.c)
  555.     - Allocation in system memory (specifically, adding a block to a
  556. stack) couldn't trigger automatic garbage collection.  (interp.c, igc.c,
  557. zvmem2.c)
  558.     - A restore in a different invocation of gs_run_string than the
  559. corresponding save would stop reading the string.  (files.h, gsmain.c,
  560. iccinit.c, zfile.c)
  561.     - The Type 1 rasterizer state included a pointer into the middle of
  562. an object, confusing the garbage collector.  (zchar1.c, zfont1.c)
  563.     - When the garbage collector deleted a name, it didn't zero out the
  564. string pointer.  (iname.c)
  565.     - On platforms where obj_align_mod > 4, the memory manager could
  566. access 1 beyond the end of its freelists.  (iastate.h)
  567.     - makefont and scalefont didn't check the type of their font operand
  568. soon enough.  (zfont.c)
  569.     - restore didn't finalize the objects it freed.  (isave.c)
  570.     - restore didn't free system VM.  (isave.c)
  571.     - Freeing a ref array that occupied an entire chunk didn't free the
  572. chunk.  (ialloc.c)
  573.  
  574. Adds a .runexec operator which implements the 'close if error' function of
  575. run.  (zfile.c, zfileio.c)
  576.  
  577. Moves the obsolete writeppmfile operator into a separate file.  (zfileio.c,
  578. zwppm.c)
  579.  
  580. Makes the statistics returned by the memory manager more accurate.
  581. (ialloc.c, zvmem.c)
  582.  
  583. Adds a (read-only) %Calendar% IODevice.  (zdevcal.c)
  584.  
  585. Adds a "hook" in the character operators to allow external code to
  586. intervene; this is needed for a customer.  (ichar.h, zchar.c, zchar2.c)
  587.  
  588. Makes control-D (0x04) a self-delimiting token, like left bracket.  THIS IS
  589. A NON-BACKWARD-COMPATIBLE CHANGE, but it should not have any adverse
  590. effects.  (scanchar.h, iscan.c, iscantab.c)
  591.  
  592. Changes the error stack printout so that it puts line breaks between items
  593. iff the items are being printed with ==.  (gs_init.ps)
  594.  
  595. Uses finalization to close streams being freed.  (igc.c, zfile.c, ziodev.c)
  596.  
  597. Interpreter (PDF)
  598. -----------------
  599.  
  600. Fixes bugs:
  601.     - Embedded Type 1 fonts that invoked save and restore while being
  602. read caused an error.  (pdf_font.ps)
  603.     - Large files that referenced a non-alphabetic font for the first
  604. time late in the file could cause an error.  (pdf_main.ps)
  605.  
  606. Streams
  607. -------
  608.  
  609. Fixes bugs:
  610.     - SubFileDecode streams didn't copy partial matches of the EOD
  611. string into their output.  (sfilter1.c)
  612.  
  613. Makes switching between read and write modes a stream procedure.  (stream.h,
  614. sfile.c, sfileno.c, stream.c, zfileio.c)
  615.  
  616. Makes file streams close themselves when finalized.  (We can't do this for
  617. other streams, because finalization procedures aren't allowed to free
  618. storage explicitly.)  (stream.h, sfile.c, sfileno.c, stream.c)
  619.  
  620. Library
  621. -------
  622.  
  623. Fixes bugs:
  624.     - The obsolete files gcdefs.h and gsfile.c were still included in
  625. the fileset.
  626.     - A number of places didn't deal with null patterns properly (p_tile
  627. == 0).  (gxdcolor.h, gspcolor.c, gxpcmap.c)
  628.     - The pattern tiling algorithm was numerically unstable, especially
  629. if the X/YStep vectors were close to the axes.  (gxcolor2.h, gspcolor.c,
  630. gxpcmap.c)
  631.     - setdeviceparams checked the values of read-only byte array
  632. parameters incorrectly.  (gsdparam.c)
  633.     - The statistics macros in gxfill.c didn't use DO_NOTHING when
  634. disabled.  (gxfill.c)
  635.     - Changing the orientation of a device closed and reopened the
  636. device unnecessarily.  (gsdparam.c)
  637.     - ioerrors occurring when writing command lists weren't reported
  638. properly.  (gxclist.h, gxclist.c)
  639.     - Errors from device procedures weren't always propagated up to
  640. clients.  (gsimage1.c, gsimage3.c, gxclip2.c, gxclist.c)
  641.     - Overflowing the fixed-point translation values in the CTM caused a
  642. floating point exception rather than a limitcheck.  (gxmatrix.h, gscoord.c)
  643.     - charpath set the current point correctly, but didn't append a
  644. moveto element to the path.  (This mostly affected Mathematica output.)
  645. (gzpath.h)
  646.     - Image devices mapped colors incorrectly.  (gdevmem.c, gdevm16.c)
  647.     - On devices with color capability but fewer than 4 bits per pixel,
  648. color halftones didn't work (and could cause an arithmetic exception).
  649. (gxdither.c)
  650.     - Black-on-white memory devices didn't map colors properly.
  651. (gdevprn.h, gxdevice.h, gxdevmem.h, gdevmem.c, gdevm1.c, gsdevice.c)
  652.     - Memory devices with a non-zero origin in their initial matrix
  653. clipped the image improperly.  (gsdevice.c)
  654.     - The Type 1 rasterizer state included a pointer into the middle of
  655. an object, confusing the garbage collector.  (gstype1.h, gxfont1.h,
  656. gxtype1.h, gstype1.c, gxhint2.c)
  657.     - The band rasterizer could produce garbled output for images
  658. (including characters) on 64-bit architectures.  (gxclread.c)
  659.     - Bounding boxes (for pathbbox and setbbox) could be slightly
  660. inaccurate.  (gsmatrix.c)
  661.     - On 64-bit architectures, halftone tiles less than 16 bits wide
  662. were handled incorrectly.  (gxclist.c)
  663.  
  664. Adds an .IsPageDevice boolean device parameter (normally read-only).
  665. (gsdparam.c)
  666.  
  667. Removes the library code for implementing the obsolete writeppmfile
  668. operator.  (gswppm.c)
  669.  
  670. Makes the default matrix (for initmatrix and defaultmatrix) a settable
  671. parameter in the graphics state.  (gscoord.h, gzstate.h, gscoord.c,
  672. gsdevice.c, gsdparam.c, ******IN PROCESS******)
  673.  
  674. Makes the statistics returned by the memory manager more accurate.
  675. (gsmemory.h)
  676.  
  677. Adds a compile-time flag to choose whether or not to force Type 1 hints to
  678. "big pixel" boundaries when oversampling.  (gstype1.c)
  679.  
  680. Changes the .PageCount device parameter back to PageCount, because the
  681. change broke some scripts.  (gsdparam.c)
  682.  
  683. Adds optimization for 90 degree rotated images with pure colors.
  684. (gximage.h, gsimage.c, gsimage1.c)
  685.  
  686. Changes the band rasterizer so that replicated halftone tiles are written on
  687. the band list in unreplicated form.  (gsbitops.h, gxcldev.h, gsbitops.c,
  688. gxclist.c, gxclread.c, gxht.c)
  689.  
  690. Changes the .HWBitsPerPixel device parameter to BitsPerPixel.  (drivers.doc,
  691. language.doc, gdevcdj.c, gdevstc.c, gsdparam.c)
  692.  
  693. Version 3.28(beta) (2/13/95)
  694. ==================
  695.  
  696. Another bug-fix beta release.  The number of bugs being fixed in each of
  697. these sub-releases does exceed the number of new bugs introduced, but the
  698. latter number is discouragingly high.
  699.  
  700. Documentation
  701. -------------
  702.  
  703. Adds some information about handling VMS file attributes for files
  704. transferred by FTP.  (use.doc)
  705.  
  706. Procedures
  707. ----------
  708.  
  709. Fixes bugs:
  710.     - unix-gcc.mak said the static linkage switch for SunOS was -Bstatic
  711. rather than -static.  (unix-gcc.mak)
  712.     - Some dependency lists in gs.mak were out of date.  (gs.mak)
  713.  
  714. Utilities
  715. ---------
  716.  
  717. Fixes bugs:
  718.     - markhint.ps didn't check for protected fonts.  (markhint.ps)
  719.  
  720. Drivers
  721. -------
  722.  
  723. Fixes bugs:
  724.     - The cdj driver had a byte/char agreement problem.  (gdevcdj.c)
  725.     - The cdj driver attempted to initialize a dynamic array.
  726. (gdevcdj.c)
  727.  
  728. Removes the setting of InputAttributes and OutputAttributes from the H-P
  729. drivers, since this causes more problems than it solves.  (gdevdjet.c)
  730.  
  731. Interpreter
  732. -----------
  733.  
  734. Fixes bugs:
  735.     - makeoperator assigned incorrect attributes to operators. (bug
  736. introduced in 3.27) (opdef.h, iinit.c, iutil.c, zmisc.c)
  737.  
  738. Library
  739. -------
  740.  
  741. Fixes bugs:
  742.     - gs_makeimagedevice didn't set the caller's pointer to the newly
  743. created device.  (bug introduced in 3.27) (gsdevice.c)
  744.     - There were still some mismatches between char * and byte * values.
  745. (gsdparam.c)
  746.     - The halftone replication algorithm could produce inappropriately
  747. large replicated masks.  (gxht.c)
  748.     - stroke usually did the wrong thing for degenerate (single-point)
  749. subpaths.  (gxstroke.c)
  750.  
  751. Version 3.27(beta)(withdrawn) (2/8/95)
  752. =============================
  753.  
  754. Yet another bug-fix beta release.  This release had so many serious problems
  755. (the most serious being at least one changed file that the release tool
  756. failed to include in the fileset) that it was withdrawn less than a day
  757. after it was issued.
  758.  
  759. Documentation
  760. -------------
  761.  
  762. Fixes bugs:
  763.     - The NEWS for 3.26 didn't mention the fact that the stdxxx stream
  764. interface used by MS Windows, OS/2, and Macintosh implementations had
  765. changed.  (NEWS)
  766.     - The file public.doc wasn't distributed with the previous fileset.
  767.  
  768. Brings the NeXTSTEP documentation up to date for NeXTSTEP releases 3.2 and
  769. subsequent.  (make.doc)
  770.  
  771. Procedures
  772. ----------
  773.  
  774. Fixes bugs:
  775.     - Some dependency lists in gs.mak were out of date.  (gs.mak)
  776.     - A 'fi;' was missing in the Unix install script.  (unix-end.mak)
  777.     - There was no VMS build script for the PDF options.  (vms.mak)
  778.     - The VMS script used CC_QUALI instead of CC_QUAL in several places.
  779. (vms.mak)
  780.  
  781. Utilities
  782. ---------
  783.  
  784. Fixes bugs:
  785.     - ps2epsi's usage prompt referred to "pstoepsi".  (ps2epsi)
  786.     - ps2epsi set PATH and LOCALPATH unilaterally.  (ps2epsi)
  787.  
  788. Comments out the sample usage line at the end of viewjpeg.ps.  (viewjpeg.ps)
  789.  
  790. Drivers
  791. -------
  792.  
  793. Fixes bugs:
  794.     - The fax and tiff drivers didn't free all of their working storage.
  795. (gdevtfax.c)
  796.  
  797. Adds user-contributed drivers for the BJC 600 and ESC/P printers.
  798. (devs.mak, gdevcdj.c)
  799.  
  800. Platforms
  801. ---------
  802.  
  803. Fixes bugs:
  804.     - Some necessary casts of string parameters to (const byte *) were
  805. omitted.  (gp_mswin.c, gp_os2.c)
  806.  
  807. Adds the psmono and bit* drivers, and removes the p*m drivers, in the OS/2,
  808. 32-bit MS-DOS, and 32-bit Windows configurations.  (bcwin32.mak, os2.mak,
  809. watc.mak)
  810.  
  811. Fonts
  812. -----
  813.  
  814. Fixes bugs:
  815.     - The Fontmap for Ultrix had somehow become slightly incorrect.
  816. (Fontmap.Ult)
  817.  
  818. Removes the font file names from the dependency lists in cfonts.mak.  This
  819. makes cfonts.mak readily usable with any set of fonts, but it also means
  820. that it will always run font2c, rather than being able to avoid this if the
  821. .c file is up to date.  (cfonts.mak)
  822.  
  823. Interpreter
  824. -----------
  825.  
  826. Fixes bugs:
  827.     - Some operators could fail if the stdxxx streams weren't currently
  828. open.  (files.h, zfileio.c, ziodev.c)
  829.     - setpagedevice didn't handle unrecognized keys properly.
  830. (gs_setpd.ps)
  831.     - The value returned for the HWColorMap device parameter was
  832. allocated incorrectly, confusing the garbage collector.  (iparam.c)
  833.     - Typing ahead at the >>showpage<< prompt no longer caused all
  834. further pages to be processed without stopping.  (gs_init.ps)
  835.     - Setting DEVICEWIDTHPOINTS or DEVICEHEIGHTPOINTS on the command
  836. line caused a typecheck.  (gs_init.ps)
  837.     - The garbage collector didn't handle halftone threshold arrays
  838. properly.  (zht2.c)
  839.     - setdefaulttimeouts caused an error on Level 2 systems.
  840. (gs_lev2.ps)
  841.     - cvi and cvr weren't equivalent to token followed by a type check.
  842. (iscan.h, iscannum.h, iscan.c, iscannum.c, ztoken.c, ztype.c)
  843.     - In Level 2 systems, image and colorimage didn't allow 12 bits per
  844. sample.  (zpaint.c)
  845.     - If debugging was enabled, the garbage collector printed spurious
  846. error messages about the allocator objects not being in a chunk.  (ialloc.c)
  847.     - restore didn't reset the count of operator procedures, so the
  848. operator procedure table could fill up.  Fixing this required splitting the
  849. op_array_table into a global table and a local table.  (opdef.h, iinit.c,
  850. iutil.c, zmisc.c)
  851.     - .forgetsave could leave a dangling pointer in the memory manager,
  852. causing an access error.  (ialloc.c, isave.c)
  853.     - Freed objects weren't always marked as freed, which could confuse
  854. the memory validator.  (ialloc.c)
  855.     - .forgetsave didn't mark inner chunk headers as free, leading to
  856. access errors.  (isave.c)
  857.  
  858. Changes the representation of operator procedures so that they point
  859. directly to their definition in the op_array_table.  (iref.h, opdef.h,
  860. idebug.c, igc.c, igcref.c, interp.c, zmisc.c)
  861.  
  862. Removes .makeglobaloperator.  (zmisc.c)
  863.  
  864. Adds patches to discard some common garbage produced by H-P-oriented
  865. applications and drivers.  (gs_init.ps)
  866.  
  867. Changes the >>showpage<< prompt so that if the input reaches EOF, the
  868. interpreter still stops after the next >>showpage<<, rather than processing
  869. all subsequent pages.  This is a consequence of the bug fix that
  870. automatically reopens the stdxxx files.
  871.  
  872. Adds an optional dictionary parameter for the RunLengthEncode/Decode
  873. filters, to allow specifying EndOfData.  The default is true.  (zfilter.c)
  874.  
  875. Adds ByteTranslateEncode/Decode filters.  (zfilter2.c)
  876.  
  877. Streams
  878. -------
  879.  
  880. Fixes bugs:
  881.     - The K > 0 option of the CCITTFaxDecode filter switched back to 2-D
  882. encoding if an output buffer boundary fell in the middle of a 1-D line, and
  883. signalled an error if an input buffer boundary fell in the middle of an EOL.
  884. (scfd.c)
  885.  
  886. Adds an EndOfData flag to the RunLengthEncode/Decode filters.  If true, RLE
  887. generates 128 as EOD, and RLD recognizes it; if false, RLE does not mark
  888. EOD, and RLD ignores 128.  (srlx.h, gxclist.c, gxclread.c, sfilter1.c)
  889.  
  890. Adds ByteTranslateEncode/Decode streams.  (sbtx.h, sfilter2.c)
  891.  
  892. Library
  893. -------
  894.  
  895. Fixes bugs:
  896.     - There were some mismatches between char * and byte * values.
  897. (gsdparam.c)
  898.     - Failure to round a scaling coordinate caused one-for-one
  899. black-and-white images to render slower than they should.  (gsimage.c)
  900.     - Setting PageSize without setting HWResolution could cause an
  901. invalid memory access.  (gsdparam.c)
  902.     - The garbage collector didn't handle halftone threshold arrays
  903. properly.  (gxht.h, gsht.c, gsht1.c)
  904.  
  905. Version 3.26(beta) (2/1/95)
  906. ==================
  907.  
  908. Yet another bug-fix beta release, still not ready for public release.
  909.  
  910. Documentation
  911. -------------
  912.  
  913. Fixes bugs:
  914.     - The description of device properties had gotten out of sync with
  915. the code.  (language.doc)
  916.  
  917. Splits off documentation specific to the Aladdin (non-GNU) release into a
  918. separate file.  (readme, public.doc, unix-end.mak)
  919.  
  920. Adds a pointer to a collection of other free fonts (including some Cyrillic
  921. ones) available on the net.  (public.doc)
  922.  
  923. Procedures
  924. ----------
  925.  
  926. Fixes bugs:
  927.     - On VMS systems with both VAX C and DEC C installed, the build script
  928. used VAX C rather than DEC C.  (vms.mak)
  929.     - zfdecode.c didn't have a build rule.  (gs.mak)
  930.     - Several macros in the makefile were used before they were defined.
  931. (gs.mak)
  932.     - Several macros in the makefile were used without being defined.
  933. (gs.mak)
  934.  
  935. Replaces the gssetdev, gssetmod, and gsaddmod scripts with more variants of
  936. echogs.  (echogs.c, gs.mak)
  937.  
  938. Utilities
  939. ---------
  940.  
  941. Fixes bugs:
  942.     - The ps2ascii shell script passed a -f flag to the shell, which not
  943. all shells recognize.  (ps2ascii)
  944.  
  945. Drivers
  946. -------
  947.  
  948. Fixes bugs:
  949.     - Due to a typo in an initialization string, the H-P printers didn't
  950. reset the top margin to zero.  (gdevdjet.c)
  951.  
  952. Adds InputAttributes and OutputAttributes entries to the H-P drivers.  (This
  953. should probably be generic to all printers.)  (gdevdjet.c)
  954.  
  955. Replaces the contributed Epson Stylus Color driver with a newer version.
  956. (devices.doc, gdevstc.c)
  957.  
  958. Platforms
  959. ---------
  960.  
  961. Fixes bugs:
  962.     - DEC C complained about 'abs' and 'exit' not being declared.  (x_.h)
  963.     - gp_mswin.c and gp_os2.c wouldn't compile.  (gp_mswin.c, gp_os2.c,
  964. ziodev.c)
  965.  
  966. Interpreter
  967. -----------
  968.  
  969. Fixes bugs:
  970.     - The default CIE rendering dictionary gave everything a magenta tint.
  971. (gs_lev2.ps)
  972.     - Changing HWResolution and PageSize in the same call of
  973. setpagedevice produced an incorrect HWSize.  (gsdparam.c)
  974.     - .putdeviceparams didn't accept all the keys that .getdeviceparams
  975. returned.  (gsdparam.c)
  976.     - The default handler for interrupt and timeout errors didn't push a
  977. current object (command) on the stack.  (gs_init.ps)
  978.     - The garbage collector didn't handle strings larger than 64K
  979. properly.  (iastate.h, ialloc.c, igcstr.c)
  980.  
  981. Adds media matching and Policy consultation to the implementation of
  982. setpagedevice.  (gs_setpd.ps)
  983.  
  984. Adds a MaxGlobalVM system parameter.  (zmisc2.c)
  985.  
  986. Streams
  987. -------
  988.  
  989. Fixes bugs:
  990.     - The CCITTFaxEncode filter could access a byte beyond the end of
  991. the allocated area.  (scfe.c)
  992.     - The CCITTFaxDecode filter could get an ioerror if a buffer
  993. boundary fell in exactly the wrong place.  (scfd.c)
  994.  
  995. Library
  996. -------
  997.  
  998. Fixes bugs:
  999.     - The garbage collector didn't trace colored halftones properly.
  1000. (gzht.h)
  1001.     - The garbage collector didn't relocate the bitmap pointers in
  1002. halftone caches properly.  (gzht.h, gxht.c)
  1003.  
  1004. Adds the ability to transmit dictionaries through the param_list mechanism
  1005. (specifically, as device parameters).  This change is
  1006. non-backward-compatible only for implementors of parameter lists, which only
  1007. exist within the Ghostscript core.  (gsparam.h, iparam.h, iparam.c)
  1008.  
  1009. Removes the InitialMatrix device property.  (gsdparam.c)
  1010.  
  1011. Version 3.25(beta) (1/24/95)
  1012. ==================
  1013.  
  1014. Yet another bug-fix beta release.  There are still at least half a dozen
  1015. significant known bugs to be fixed before a public release.
  1016.  
  1017. Documentation
  1018. -------------
  1019.  
  1020. Notes that on Unix systems, one should not edit 'makefile', but should edit
  1021. the individual subfile and run tar_cat.  THIS IS A NON-BACKWARD-COMPATIBLE
  1022. CHANGE.  (make.doc)
  1023.  
  1024. Adds information on the Macintosh implementation.  (readme)
  1025.  
  1026. Procedures
  1027. ----------
  1028.  
  1029. Fixes bugs:
  1030.     - make clean failed on Unix systems where rm -f requires at least one
  1031. file name.  (gs.mak)
  1032.     - math_.h was omitted from many dependency lists.  (gs.mak)
  1033.  
  1034. Drivers
  1035. -------
  1036.  
  1037. Fixes bugs:
  1038.     - The X Windows and MS Windows draw-line routines couldn't possibly
  1039. produce sufficiently correct output (since the interface only provides integer
  1040. coordinates).  (gdevx.c, gdevwddb.c)
  1041.  
  1042. In response to patent-related actions by Unisys and CompuServe, removes the
  1043. GIF driver.  (*.mak)
  1044.  
  1045. Changes dci_std_color (and std_device_std_color_* and prn_device_std_*) so
  1046. that if the number of bits per pixel is 32, the device is defined as CMYK
  1047. rather than RGB.  (gxdevice.h)
  1048.  
  1049. Removes the tseng8 device, which is no longer useful.  (devs.mak, gdevsvga.c)
  1050.  
  1051. Adds pseudo-alpha support to the SVGA drivers, via the TextAlphaBits and
  1052. GraphicsAlphaBits device parameters.  (gdevsvga.h, gdevsvga.c)
  1053.  
  1054. Adds a user-contributed driver for the Epson Stylus Color printer.  (devs.mak,
  1055. gdevstc.c, devices.doc)
  1056.  
  1057. Platforms
  1058. ---------
  1059.  
  1060. Fixes bugs:
  1061.     - The VMS build scripts had gotten out of sync (again).  (vms*.mak)
  1062.  
  1063. Interpreter
  1064. -----------
  1065.  
  1066. Fixes bugs:
  1067.     - The emulator name array was incorrectly declared const in one place.
  1068. (gs.c)
  1069.     - A closed file could incorrectly appear to be 'eq' to another file
  1070. (open or closed).  (iutil.c)
  1071.     - If %stdin/%stdout/%stderr was ever closed, it couldn't be
  1072. reopened.  (gs_btokn.ps, gs_init.ps, files.h, zfile.c, zfileio.c, zfilter.c,
  1073. zfproc.c, ziodev.c)
  1074.  
  1075. Changes (almost) all the operator routines to 'static'.  (z*.c)
  1076.  
  1077. Library
  1078. -------
  1079.  
  1080. Fixes bugs:
  1081.     - The raster value for replicated tiles in the halftone cache was
  1082. incorrect, causing unaligned memory accesses.  (gxht.c)
  1083.     - stroke and strokepath could produce slightly inaccurate output
  1084. (leading to slight visible anomalies) as a result of stroke adjustment.
  1085. (gxstroke.c)
  1086.     - Attempting to draw an arc with zero radius could cause a numeric
  1087. exception.  (gspath1.c)
  1088.     - Setting the Orientation of a device to null resulted in actually
  1089. setting it to a random value.  (gsdparam.c)
  1090.     - charpath, stringwidth, and cshow attempted to remap the current
  1091. color unnecessarily.  (gschar.c)
  1092.  
  1093. Adds the ability to trace calls on the sqrt function (and possibly other math
  1094. functions in the future.)  (math_.h, gsmisc.c)
  1095.  
  1096. Adds additional interrupt checks in the banding code.  (gxclist.c, gxclread.c)
  1097.  
  1098. Version 3.24(beta) (1/17/95)
  1099. ==================
  1100.  
  1101. This was supposed to be a public release, but too many bugs showed up in 3.23,
  1102. so this is another bug-fix beta release.  This is the first release with a
  1103. working PDF reader.
  1104.  
  1105. Documentation
  1106. -------------
  1107.  
  1108. Notes that Solaris requires using installbsd instead of install.  (make.doc)
  1109.  
  1110. Procedures
  1111. ----------
  1112.  
  1113. Changes 'make mostlyclean' so that it doesn't delete the Ghostscript
  1114. executable (but deletes everything else that 'make clean' does).  (gs.mak)
  1115.  
  1116. Changes the link list generator so it eliminates duplicate library requests.
  1117. (genconf.c)
  1118.  
  1119. Factors the interpreter further so as to include less unnecessary PostScript
  1120. support in the PDF interpreter.  (gs.mak, zpath.c, zpath1.c)
  1121.  
  1122. Adds a printout of the available language interpreters to the -h message.
  1123. (genconf.c, gs.c, iinit.c, gs.mak)
  1124.  
  1125. Drivers
  1126. -------
  1127.  
  1128. Fixes bugs:
  1129.     - The alternate X drivers used a cast in an initializer, causing a
  1130. compilation error on some platforms.  (gdevxalt.c)
  1131.  
  1132. Adds a driver for the LaserJet IIID, including duplex printing if specified by
  1133. the Duplex page device parameter.  (gdevdjet.c)
  1134.  
  1135. Adds Orientation to the bit device.  (gdevbit.c)
  1136.  
  1137. Platforms
  1138. ---------
  1139.  
  1140. Fixes bugs:
  1141.     - There was an extraneous pfen-> in the NT file system module, causing
  1142. a compilation error.  (gp_ntfs.c)
  1143.     - The DLL code referred to an obsolete symbol a_foreign.  (gsdll.c)
  1144.     - The VMS build scripts omitted the LaserJet 4 driver.  (vms-*.mak)
  1145.     - The VMS build scripts had several other minor errors.  (vms.mak)
  1146.  
  1147. Fonts
  1148. -----
  1149.  
  1150. Fixes bugs:
  1151.     - Defining a font alias in global VM with a name that was a string in
  1152. local VM caused an error.  (gs_fonts.ps)
  1153.     - The font compiler referred to an obsolete symbol a_foreign.
  1154. (font2c.ps)
  1155.  
  1156. Interpreter
  1157. -----------
  1158.  
  1159. Fixes bugs:
  1160.     - There was an extraneous '#' before an extern declaration.
  1161. (gsmain.c)
  1162.     - The interpreter could (incorrectly) attempt to expand the e-stack.
  1163. (istack.h, interp.c, istack.c)
  1164.     - zfproc.c called memcpy but didn't include memory_.h.  (zfproc.c)
  1165.     - A garbage collection occurring within a 'save' would often smash
  1166. memory.  (igc.c)
  1167.     - If the last character returned by the procedure of a procedure-based
  1168. filter was \r, readline could get an endless loop.  (zfileio.c)
  1169.     - Saving a change to a ref member of a structure confused the garbage
  1170. collector.  (isave.h, isave.c, zdict.c)
  1171.     - The -Zu debugging printout could cause an access error under rare
  1172. circumstances.  (isave.c)
  1173.     - Save objects could get allocated in global VM, causing dangling
  1174. references.  (zvmem.c)
  1175.     - The vmsave object created by the interpreter for a save didn't get
  1176. freed properly if the memory manager created an invisible save level, which
  1177. could cause the next garbage collection to crash.  (zvmem.c)
  1178.     - 'run' always printed an error message, rather than letting the
  1179. top-level control loop do it.  (gs.c, gs_init.ps)
  1180.  
  1181. Adds support for duplex devices.  (gxdevice.h, gsdparam.c, gs_statd.ps,
  1182. gs_setpd.ps)
  1183.  
  1184. Adds the beginnings of support for CID-keyed fonts.  (gs_cidfn.ps)
  1185.  
  1186. Changes the format of the stack dump printed for errors, to make it easier to
  1187. read.  (gs_init.ps)
  1188.  
  1189. Interpreter (PostScript)
  1190. ------------------------
  1191.  
  1192. Fixes bugs:
  1193.     - The .local/global allocation operators always allocated in system
  1194. VM.  (zsysvm.c)
  1195.     - setpage[params] caused an error.  (gs_lev2.ps)
  1196.     - If an error occurred during a cshow or (x|y|xy)show, the interpreter
  1197. freed the enumerator twice.  (zchar.c, zchar2.c)
  1198.  
  1199. Changes setpageparams so that orientation = 0 means portrait.  This is not
  1200. compatible with AGFA's convention for roll-feed devices, but it is compatible
  1201. with the more common cut-sheet printers.  (gs_statd.ps)
  1202.  
  1203. Adds meaningful values for the Emulator resource.  (gsmain.c, gs_res.ps)
  1204.  
  1205. Makes -Z? validate the state of memory before and after save and restore.
  1206. (ialloc.h, igc.h, ialloc.c, igc.c, ilocate.c, zvmem.c)
  1207.  
  1208. Interpreter (PDF)
  1209. -----------------
  1210.  
  1211. Fixes bugs:
  1212.     - The Unix install script didn't install the PDF files if they were
  1213. present.  (unix-end.mak)
  1214.     - PDF to PostScript conversion didn't work at all.  (It still doesn't
  1215. work very well.)  (pdf_2ps.ps, pdf_main.ps)
  1216.     - Images with an Indexed color space and no Decode entry caused an
  1217. error.  (pdf_draw.ps)
  1218.     - The 'Page <n>' messages were printed even if QUIET was set.
  1219. (pdf_main.ps)
  1220.  
  1221. Changes the interpreter so that when it encounters an unknown operator, it
  1222. prints an error message and continues, rather than signalling an error.
  1223. (pdf_base.ps)
  1224.  
  1225. Makes F a synonym for f if there is nothing on the operand stack, to
  1226. compensate for a bug in some Adobe software.  (pdf_base.ps)
  1227.  
  1228. Changes pdfgetpage so it uses 1-origin rather than 0-origin indexing.  THIS IS
  1229. A NON-BACKWARD-COMPATIBLE CHANGE.  (pdf_main.ps)
  1230.  
  1231. Streams
  1232. -------
  1233.  
  1234. Fixes bugs:
  1235.     - The Group 3 2-D and Group 4 encoders produced incorrect output if a
  1236. scan line beginning with a black pixel was followed by a scan line beginning
  1237. with a white pixel.  (scfe.c)
  1238.     - A SubFileDecode filter with a count of 1 and a non-empty EOD string
  1239. would smash memory.  (sfilter1.c)
  1240.  
  1241. Updates the DCT filters so they will work with the latest version (5a) of the
  1242. IJG library.  (*.mak, jpeg.mak, sjpegerr.c)
  1243.  
  1244. Library
  1245. -------
  1246.  
  1247. Fixes bugs:
  1248.     - A call with integer parameters to a procedure with floating point
  1249. arguments didn't work on non-ANSI compilers.  (gsimage.c)
  1250.     - Arcs could get turned into polygons if the scaling values in the CTM
  1251. were very large and the radius was (in user space coordinates) very small.
  1252. (gspath.c)
  1253.     - The current point was defined when a BuildChar procedure was called.
  1254. (This bug was documented as fixed in version 2.2!)  (gschar.c)
  1255.  
  1256. Adds support for Orientation and Duplex page device parameters, for those
  1257. devices that support these.  (gdevprn.h, gxdevice.h, gsdevice.c, gsdparam.c)
  1258.  
  1259. Version 3.23(beta) (1/5/95)
  1260. ==================
  1261.  
  1262. This is almost entirely a bug fix release.  It also includes a largely working
  1263. PDF reader.  This is intended as the beta test release for the next public
  1264. release.
  1265.  
  1266. Documentation
  1267. -------------
  1268.  
  1269. Fixes bugs:
  1270.     - COPYLEFT, COPYING, NEWS, PUBLIC, README, and the standard Fontmap
  1271. were omitted from the 3.22 fileset.
  1272.  
  1273. Documents the use of the -oldc switch to work around a compiler crash on
  1274. the DECstation.
  1275.  
  1276. Expands and clarifies the documentation for building the DesqView/X version
  1277. with djgcc.  (make.doc)
  1278.  
  1279. Adds documentation on the "600x300" H-P inkjet printers, explaining why
  1280. this alleged higher resolution is not available.  (devices.doc)
  1281.  
  1282. Adds to the PUBLIC license a warning that it is not a GNU License, and a
  1283. requirement to include a copy of or a pointer to the License in any written
  1284. material.  (PUBLIC)
  1285.  
  1286. Documents the fact that Ghostscript *does* attempt to look up files in the
  1287. current directory first.  (use.doc)
  1288.  
  1289. Procedures
  1290. ----------
  1291.  
  1292. Fixes bugs:
  1293.     - In VMS.MAK, .JPEG should have been changed to .JPEG-5 in a few
  1294. places.  (vms.mak)
  1295.  
  1296. Adds the pjxl300 driver to all configurations that include the other color
  1297. DeskJet drivers.  Replaces pjet and pjetxl with pj and pjxl.  (*.mak)
  1298.  
  1299. Makes 'run' recognize PDF files if the PDF reader is included.
  1300. (pdf_main.ps)
  1301.  
  1302. Utilities
  1303. ---------
  1304.  
  1305. Fixes bugs:
  1306.     - viewjpeg.ps needed the test for languagelevel = 2 at the
  1307. beginning of the file.  (viewjpeg.ps)
  1308.     - prfont.ps used 'min', which isn't a standard PostScript operator.
  1309. (prfont.ps)
  1310.     - prfont.ps created Encoding vectors that weren't 256 elements
  1311. long.  (prfont.ps)
  1312.  
  1313. Adds the gsdj500 script to the installation list.  (unix-end.mak)
  1314.  
  1315. Changes the Unix "line printer" shell scripts to add the date to the page
  1316. header.  (gsbj, gsdj, gsdj500, gslj)
  1317.  
  1318. Changes ansi2knr so that it will work properly on systems where the ctype
  1319. macros don't handle 8-bit characters correctly.  (ansi2knr.c)
  1320.  
  1321. Drivers
  1322. -------
  1323.  
  1324. Fixes bugs:
  1325.     - Some compilers don't allow casts in initialization expressions.
  1326. (gdevx.c, gdevxalt.c)
  1327.     - The cdj drivers didn't initialize the color_info structure
  1328. properly.  (gdevcdj.c)
  1329.  
  1330. Adds another alternate X Windows driver, x11mono, that is a black-and-white
  1331. device.  (devs.mak, gdevxalt.c)
  1332.  
  1333. Adds a user-contributed driver for the Apple Imagewriter LQ.  (devs.mak,
  1334. gdevadmp.c)
  1335.  
  1336. Platforms
  1337. ---------
  1338.  
  1339. Fixes bugs:
  1340.     - The VMS MODULES.LIS file had gotten out of sync with the makefile
  1341. (again); GDEVABUF and GSBITOPS were missing.  (modules.lis)
  1342.     - The VMS script file had gotten out of sync with the makefile
  1343. (again).  (vms.mak)
  1344.     - The MS Windows platform code didn't recognize Windows 95 (Windows
  1345. 4.0) as equivalent to Windows NT.  (gp_mswin.c)
  1346.     - File name enumeration didn't work on OS/2 or win32.  (gp_ntfs.c,
  1347. gp_os2.c)
  1348.     - -sOutputFile= didn't work under MS Windows.  (gp_mswin.c)
  1349.  
  1350. Changes the SCO Unix direct frame buffer driver so it generates in-line
  1351. instructions to access the frame buffer, for a dramatic speed improvement.
  1352. (gdevpcfb.h, gdevsco.c)
  1353.  
  1354. Fonts
  1355. -----
  1356.  
  1357. Fixes bugs:
  1358.     - If a font couldn't be found in the Fontmap, a recursion loop
  1359. sometimes occurred.  (gs_fonts.ps)
  1360.     - Aliases for global fonts weren't automatically created as global,
  1361. possibly leading to a recursion loop.  (gs_dps1.ps, gs_fonts.ps)
  1362.     - If a font was loaded into global VM within an inner save, the restore
  1363. deleted it from FontDirectory but not from SharedFontDirectory, causing a
  1364. possible recursion loop.  (gs_dps1.ps, gs_fonts.ps, idict.h, idict.c, zdict.c)
  1365.  
  1366. Further improves the algorithm for substituting for unknown fonts.
  1367. (gs_fonts.ps)
  1368.  
  1369. Interpreter (PostScript)
  1370. ------------------------
  1371.  
  1372. Fixes bugs:
  1373.     - zcontrol.c had an assignment of const char * to const byte *,
  1374. which some compilers don't like.  (zcontrol.c)
  1375.     - Setting an Indexed color space based on a CIE space caused an
  1376. attempt to free a random block of memory.  (zcsindex.c)
  1377.     - Some compilers don't like mixing conditionals and casts in
  1378. initialization expressions.  (iref.h)
  1379.     - Some calculations of table sizes for string garbage collection
  1380. didn't work if sizeof(long) != 4, leading to smashed strings.  (iastate.h,
  1381. ialloc.c, igcstr.c)
  1382.     - Strings longer than about 7000 bytes smashed their chunk header
  1383. and confused the garbage collector.  (ialloc.c)
  1384.     - Some compilers needed iccfont.c to include strimpl.h.
  1385. (iccfont.c)
  1386.     - The obsolete file zcspace2.c was still included in the fileset.
  1387.     - If the command line included any @-files that required searching
  1388. the library path, a limitcheck would occur.  (zfile.c)
  1389.     - The insideness testing operators caused a memory access error,
  1390. because the procedure vector hadn't been updated to provide a default
  1391. get_alpha_bits procedure.  (zupath.c)
  1392.     - gcheck didn't check for stack underflow.  (zvmem2.c)
  1393.     - cleardictstack could fail to clear the dictionary stack if the
  1394. stack had overflowed into additional blocks.  (zdict.c)
  1395.     - If the '-' switch was selected, resources weren't released
  1396. properly on exit.  (gs.c)
  1397.     - Setting a Pattern color space based on a CIE space caused an
  1398. invalid memory access.  (zcsindex.c)
  1399.     - The garbage collector didn't treat refs properly on machines with
  1400. short ints.  (igcref.c)
  1401.     - Operators with more than 16 arguments could break the
  1402. interpreter.  (interp.h, iinit.c, interp.c)
  1403.     - save/restore didn't restore the setting of the current allocator
  1404. VM (local/global).  (isstate.h, isave.c)
  1405.     - stdpre.h declared exit as an extern, instead of letting gsmain.c
  1406. declare it.  (stdpre.h, gsmain.c)
  1407.     - gs.c used fputs to print help messages rather than fprintf.
  1408. (gs.c)
  1409.     - Interrupts failed to re-execute the operation that was
  1410. interrupted.  (interp.c)
  1411.     - Low-resolution CMYK devices didn't use separate screens for each
  1412. color plane as the default.  (gs_init.ps)
  1413.     - filterdict wasn't getting undef'ed at the end of initialization.
  1414. (gs_init.ps)
  1415.     - gstate operations were broken (bug introduced in 3.02).
  1416. (zdevice2.c)
  1417.     - resourceforall didn't remove the resource dictionary from the
  1418. dictionary stack when calling the client-supplied procedure.  (gs_res.ps)
  1419.     - currentcolor with an Indexed color space returned a real rather
  1420. than an integer.  (zcolor2.c)
  1421.     - setshared / setglobal left the stack in an unobvious state if
  1422. they were given a non-Boolean argument.  (gs_dps1.ps)
  1423.     - sethalftone followed by currenthalftone returned an invalid value.
  1424. (zht2.c)
  1425.     - Empty strings produced spurious garbage collector error messages.
  1426. (gsstruct.h, scommon.h, igc.c, igcstr.c, iname.c)
  1427.     - The garbage collector didn't trace Separation color spaces properly.
  1428. (gscsepr.c)
  1429.  
  1430. Changes defineresource so that it does not, by default, make instances
  1431. read-only.  (gs_res.ps)
  1432.  
  1433. Adds .{local,global}{array,dict,packedarray,string} operators for creating
  1434. objects in a specific VM space.  (zsysvm.c, gs_dps1.ps)
  1435.  
  1436. Adds definitions of setpage and setpageparams to statusdict.  (gs_setpd.ps,
  1437. gs_statd.ps)
  1438.  
  1439. Alleviates some performance problems in the garbage collector.  (igc.c)
  1440.  
  1441. Interpreter (PDF)
  1442. -----------------
  1443.  
  1444. Fixes bugs:
  1445.     - PDF files that used filters with parameters caused a typecheck
  1446. error because the arguments to 'filter' were reversed.  (pdf_base.ps)
  1447.     - The (undocumented) PDF 1.1 ability to specify link and annotation
  1448. destinations indirectly was not supported.  (pdf_main.ps)
  1449.     - The (undocumented) PDF ability to specify a null page in a link
  1450. destination was not supported.  (pdf_main.ps)
  1451.     - The PDF encodings weren't loaded properly in a system with both
  1452. PS Level 2 and PDF features.  (gs_res.ps, gs_init.ps)
  1453.     - If the next line after a stream keyword was blank, the line
  1454. wasn't skipped, which matters for binary data.  (pdf_base.ps)
  1455.     - A Q operator with no matching q operator caused an error.
  1456. (pdf_draw.ps)
  1457.     - The text position wasn't preserved across a fill or stroke
  1458. operator.  (gs_pdf.ps, pdf_draw.ps)
  1459.     - Embedded Type 3 fonts didn't work.  (pdf_base.ps, pdf_draw.ps,
  1460. pdf_main.ps)
  1461.     - Masked images with no Decode value had their polarity inverted.
  1462. (pdf_draw.ps)
  1463.     - Embedded Type 1 fonts referenced from within a stream didn't
  1464. work.  (pdf_font.ps)
  1465.  
  1466. Changes the PDF code so that it automatically recognizes PDF files as such.
  1467. (pdf_main.ps)
  1468.  
  1469. Splits out the PixelDifference filters as a separate "feature".  (gs.mak)
  1470.  
  1471. Streams
  1472. -------
  1473.  
  1474. Fixes bugs:
  1475.     - Closing the primary input stream caused an invalid memory access.
  1476. (stream.c)
  1477.     - Increasing the size of a buffer within a save resulted in a
  1478. dangling reference after the restore.  (files.h, sfilter.h, zfile.c,
  1479. zfilter.c)
  1480.     - The garbage collector didn't properly trace streams that referenced
  1481. strings directly.  (stream.h, stream.c, ziodev.c)
  1482.  
  1483. Library
  1484. -------
  1485.  
  1486. Fixes bugs:
  1487.     - An extraneous \ upset some compilers.  (gdevabuf.c)
  1488.     - Uncolored Patterns that completely filled their bounding box
  1489. caused an invalid memory access.  (gspcolor.c)
  1490.     - If a color image required clipping, black or white pixels might
  1491. be rendered with incorrect (random) colors.  (gxcpath.c)
  1492.     - Reference counts for color spaces were sometimes set too high, so
  1493. they would only be freed by restore or garbage collection.  (gscolor.c)
  1494.     - The character cache could get confused if the Encoding for the
  1495. character wasn't a name.  (gschar.c)
  1496.     - Character outlines were always rendered with flatness = 0,
  1497. causing very bad performance for large characters.  (gzstate.h, gschar.c,
  1498. gsimage.c, gxfill.c, gxstroke.c)
  1499.     - If a device (presumably uninitialized) had a
  1500. color_info.num_components of zero, an invalid memory access could occur.
  1501. (gsdparam.c)
  1502.     - Intersecting clipping paths that are not both rectangular didn't
  1503. properly set the outer box of new clipping path, leading to unnecessary
  1504. computation.  (gxcpath.h, gxacpath.c, gxcpath.c)
  1505.     - A call passed false instead of NULL.  (gschar.c)
  1506.     - On machines where sizeof returns a long, genarch.c failed.
  1507. (genarch.c)
  1508.     - xfonts were consulted, incorrectly, even for stroked characters.
  1509. (gxccman.c)
  1510.     - gstate/currentgstate/setgstate didn't work properly.  (gsline.c,
  1511. gsstate.c)
  1512.     - On CMYK devices needing halftoning, colors with C = M = Y were
  1513. always converted to gray shades.  (gxcmap.c)
  1514.     - Isolated horizontal lines, or the horizontal edges of rectangles,
  1515. could get drawn with one or both end pixels missing.  (gxfill.c)
  1516.  
  1517. Changes the character cache back so it oversamples characters at small
  1518. sizes.  (gschar.c)
  1519.  
  1520. Changes all occurrences of (void)x to discard(x), and defines discard in
  1521. stdpre.h as a cast to void, to make it possible to pacify compilers that
  1522. don't accept this construct for some kinds of x.  (gpcheck.h, stdpre.h,
  1523. store.h, gdevmswn.c, gp_mswin.c, gscoord.c, gxclread.c, igc.c, sfile.c,
  1524. sfileno.c, zcie.c, zht2.c, ziodev.c, zmisc1.c)
  1525.  
  1526. Increases the size of the halftone cache on large-memory machines from 35K
  1527. to 100K.  This substantially improves halftoning performance at higher
  1528. resolutions.  (gxht.c)
  1529.  
  1530. Version 3.22(beta) (11/30/94)
  1531. ==================
  1532.  
  1533. This is primarily a bug fix release.  It also includes limited anti-aliased
  1534. graphics capability.  This release was not distributed to the public.
  1535.  
  1536. Procedures
  1537. ----------
  1538.  
  1539. Fixes bugs:
  1540.     - The definition of ghost_h was misplaced, so changes in it or its
  1541. antecedents didn't force recompilation of its dependents.  (gs.mak)
  1542.  
  1543. Actually implements the -Z+ switch, for forcing small stack blocks.
  1544. (interp.c)
  1545.  
  1546. Makes the -dSAFER switch disable the %pipe syntax for file names, even for
  1547. reading.  (gs_init.ps)
  1548.  
  1549. Drivers
  1550. -------
  1551.  
  1552. Fixes bugs:
  1553.     - The dfax drivers incorrectly set EncodedByteAlign to false.
  1554. (gdevdfax.c)
  1555.     - softwareValue and dateTimeValue were declared as byte rather than
  1556. char.  (gdevtfax.c)
  1557.  
  1558. Platforms
  1559. ---------
  1560.  
  1561. Fixes bugs:
  1562.     - The VMS DEC C compilers declare delete in unixio.h, and doesn't
  1563. declare unlink anywhere.  (stdio_.h)
  1564.     - The VMS compilers declare malloc and free in stdlib.h, which
  1565. wasn't being included in malloc_.h.  (malloc_.h)
  1566.     - The SCO Unix C compiler needs both <sys/time.h> and <time.h>.
  1567. (time_.h)
  1568.     - The VMS compilers declare abs in stdlib.h, which wasn't being
  1569. included anywhere.  (gshtscr.c)
  1570.     - The definition for A4 paper in VMS-AXP.MAK was incorrect.
  1571. (vms-axp.mak)
  1572.  
  1573. Renames VMS-AXP.MAK as VMS-DECC.MAK, with some changes that make it
  1574. appropriate for DEC C on both VAX and AXP platforms.  (vms-axp.mak =>
  1575. vms.decc.mak)
  1576.  
  1577. Fonts
  1578. -----
  1579.  
  1580. Fixes bugs:
  1581.     - gs_kanji.ps got an invalidaccess error.  (gs_kanji.ps)
  1582.  
  1583. Interpreter
  1584. -----------
  1585.  
  1586. Fixes bugs:
  1587.     - An off-by-1 test in the roll operator caused it to smash the
  1588. stack if the operand stack had overflowed into additional blocks.
  1589. (zstack.c)
  1590.     - The default CIE color rendering dictionary didn't assume a
  1591. reasonable intermediate (XYZ) space.  (gs_lev2.ps)
  1592.     - CIE color mapping tables weren't traced properly by the garbage
  1593. collector.  (gscie.h, gscie.c, zcie.c)
  1594.     - If the very last character of a file was a ^M, the scanner
  1595. (incorrectly) signaled a syntaxerror.  (iscan.c)
  1596.     - If an operator could return both a typecheck and a
  1597. stackunderflow, it always returned a stackunderflow, which doesn't match
  1598. the behavior of Adobe interpreters.  (opcheck.h, idparam.c, interp.c,
  1599. iutil.c, z*.c)
  1600.     - astore, dictstack, and execstack could return a spurious
  1601. invalidaccess error (or fail to detect an invalid access) if the operand
  1602. stack had overflowed into additional blocks.  (istack.c)
  1603.     - The garbage collector didn't relocate pointers to names!  (Bug
  1604. introduced in 3.20.)  (iname.h)
  1605.     - If the dictionary stack overflowed into additional blocks, the
  1606. cached value pointer for a name could get set incorrectly, and also not get
  1607. relocated by the garbage collector.  (idict.c)
  1608.     - If the dictionary stack overflowed into additional blocks, the
  1609. post-GC fixup of cached value pointers in names could cause an addressing
  1610. error.  (igc.c)
  1611.     - With the -Z? switch set, the garbage collector could incorrectly
  1612. report that objects or strings weren't in any chunk.  (igc.c)
  1613.     - << /a 1 /a 2 >> /a get gave the value 2 rather than 1.
  1614. (gs_init.ps)
  1615.     - Numbers in binary object sequences and encoded number arrays
  1616. didn't work properly on machines where sizeof(short) != 2 or sizeof(long)
  1617. != 4.  (ibnum.c)
  1618.     - The put operator for dictionaries allowed null as a key.
  1619. (idict.h, idict.c)
  1620.     - >> didn't give an error if there were an odd number of values on
  1621. the stack above the next mark.  (gs_init.ps)
  1622.     - Operations that explicitly freed ref objects (setting a CIE
  1623. colorspace, resizing a dictionary, popping a block off a stack) could
  1624. corrupt storage.  (ialloc.c)
  1625.     - The -Z@ switch, which fills freed blocks with a recognizable bit
  1626. pattern, could incorrectly overwrite freed blocks in previous save levels,
  1627. causing invalid memory accesses.  (ialloc.c)
  1628.     - Since streams freed by a restore weren't marked as free, they
  1629. could confuse the garbage collector and lead to invalid memory accesses.
  1630. (zfile.c)
  1631.     - If one of the built-in dictionaries overflowed during
  1632. initialization, no error was reported -- entries were simply discarded.
  1633. (iinit.c)
  1634.     - If the level2.dev feature was combined with certain other
  1635. features, the current languagelevel was 2 when some gs_*.ps files were
  1636. loaded, causing them to load incorrectly.  (gs_btokn.ps, gs_setpd.ps)
  1637.     - If readline read a line that ended with only a CR (no LF)
  1638. followed by an end-of-file, it incorrectly closed the stream.  (zfileio.c)
  1639.  
  1640. Adds a .cond operator, similar to the Lisp multi-arm conditional.
  1641. (zcontrol.c)
  1642.  
  1643. Adds a .makeglobaloperator operator, allowing the definition of operator
  1644. procedures in local VM that turn into global operators, provided the save
  1645. level is zero.  (iref.h, opdef.h, iinit.c, interp.c, zmisc.c)
  1646.  
  1647. Note: the fix for returning typecheck vs. stackunderflow requires that all
  1648. operators (or other code) that uses return_error(e_typecheck) to indicate
  1649. an incorrect object type on the operand stack must change this to
  1650. return_op_typecheck(op), where op points to the operand.  THIS IS A
  1651. NON-BACKWARD-COMPATIBLE CHANGE.
  1652.  
  1653. Implements string array and name array parameters for parameter lists.
  1654. (gsparam.h, iparam.c)
  1655.  
  1656. Brings filterdict inside the INITIAL_DICTIONARIES conditional.  (iinit.c)
  1657.  
  1658. Adds a .currentscreenlevels operator that returns the number of
  1659. distinguishable halftone levels.  (zht.c)
  1660.  
  1661. Streams
  1662. -------
  1663.  
  1664. Fixes bugs:
  1665.     - The 2-D case of CCITTFaxDecode could get confused by an input
  1666. data buffer boundary that fell immediately after a horizontal code.
  1667. (scfd.c)
  1668.     - The LZW decoder didn't detect invalid data unless DEBUG was
  1669. selected at build time.  (slzwd.c)
  1670.  
  1671. Library
  1672. -------
  1673.  
  1674. Fixes bugs:
  1675.     - The clipping region accumulator could refer to a clipping
  1676. rectangle even after it had been freed.  (No effect on execution unless the
  1677. -Z@ switch was selected.)  (gxacpath.c)
  1678.     - setbbox expanded the bounding box, but didn't place a limit on
  1679. further path elements, if the current path wasn't empty.  (gsdps1.c)
  1680.     - setbbox didn't make sufficient allowance for rounding.
  1681. (gsdps1.c)
  1682.  
  1683. Implements the ProcessColorModel parameter (read-only) for all devices.
  1684. (gsdparam.c)
  1685.  
  1686. Adds a gs_currentscreenlevels procedure that returns the number of
  1687. distinguishable halftone levels.  (gsht.c)
  1688.  
  1689. Version 3.21(beta) (11/17/94)
  1690. ==================
  1691.  
  1692. This is primarily a bug fix release.  It also includes a substantial
  1693. improvement in the Type 1 font hinting algorithms.  This release was not
  1694. distributed to the public.
  1695.  
  1696. Documentation
  1697. -------------
  1698.  
  1699. Fixes bugs:
  1700.     - The `man' page referred to gnu.ghostscript.bug rather than
  1701. comp.lang.postscript.  (gs.1)
  1702.  
  1703. Documents the special entries in operator definition tables that allow
  1704. switching dictionaries.  (opdef.h)
  1705.  
  1706. Procedures
  1707. ----------
  1708.  
  1709. Moves the definition of JSRCDIR to the individual platform makefiles, to
  1710. make it easier to change on platforms that don't have file links.  (*.mak)
  1711.  
  1712. Utilities
  1713. ---------
  1714.  
  1715. Fixes bugs:
  1716.     - ansi2knr didn't recognize that a line ending with } couldn't be a
  1717. function definition.  (ansi2knr.c)
  1718.     - ps2epsi always returned an empty bounding box.  (ps2epsi,
  1719. ps2epsi.bat)
  1720.  
  1721. Drivers
  1722. -------
  1723.  
  1724. Fixes bugs:
  1725.     - The bitrgb device had an invalid depth of 3.  (gdevbit.c)
  1726.  
  1727. Replaces the color mapping code in the X driver with a much faster
  1728. algorithm, courtesy of Tim Theisen.  (gdevx.h, gdevx.c, gdevxini.c)
  1729.  
  1730. Platforms
  1731. ---------
  1732.  
  1733. Fixes bugs:
  1734.     - Two variable names were misspelled.  (gdevpm.c, gp_mswin.c)
  1735.     - It wasn't possible to compile a non-DLL configuration under OS/2.
  1736. (os2.mak)
  1737.     - Compilation under Microsoft C/C++ 8.0 gave errors.  (gp_mswin.h,
  1738. gp_mswin.c, gshtscr.c)
  1739.  
  1740. Adds some more devices to the OS/2 makefile.  (os2.mak)
  1741.  
  1742. Fonts
  1743. -----
  1744.  
  1745. Fixes bugs:
  1746.     - wrfont.ps, and hence bdftops, didn't write out the FontType or
  1747. PaintType.  (Bug introduced since 2.6.1)  (wrfont.ps)
  1748.     - wrfont.ps omitted a 'begin' and 'end', causing -! or -| to be
  1749. undefined when the font was loaded.  (Bug introduced since 2.6.1)
  1750. (wrfont.ps)
  1751.  
  1752. Interpreter
  1753. -----------
  1754.  
  1755. Fixes bugs:
  1756.     - make_tasv_old called make_tasv_new with extra arguments.
  1757. (store.h)
  1758.     - currentcacheparams only returned 2 values instead of 3.
  1759. (zfont.c)
  1760.     - ustroke popped one element too many off the stack if a matrix was
  1761. supplied.  (zupath.c)
  1762.     - inu[eo]fill popped one element too many off the stack.
  1763. (zupath.c)
  1764.     - The color rendering dictionary was initialized to null rather
  1765. than a valid dictionary.  (gs_lev2.ps)
  1766.     - An invalid IODevice resource named "9" got created.  (gs_res.ps)
  1767.     - bytesavailable often caused an error rather than returning -1.
  1768. (zfileio.c, stream.c)
  1769.     - The insideness testing operators always returned true if the
  1770. aperture was defined by a user path rather than a point.  (zupath.c)
  1771.     - If INITIAL_DICTIONARIES was defined in the makefile, the
  1772. definition of the initial_dictionaries array was missing a comma.
  1773. (iinit.c)
  1774.     - Even if userdict appeared in INITIAL_DICTIONARIES, gs_init.ps set
  1775. its maxlength to 200.  (gs_init.ps)
  1776.     - Setting a CIE color space left a garbage value on the stack.
  1777. (zcie.c)
  1778.     - If a file or filter was opened and then closed, opening a file
  1779. subsequently within a 'save' could lead to a memory access error in the
  1780. garbage collector.  (zfile.c)
  1781.     - Setting an Indexed or Separation color space could cause a crash
  1782. either in the garbage collector or when printing out the e-stack.
  1783. (icsmap.h, zcsindex.c, zcssepr.c)
  1784.     - Invoking a filter with an invalid data source or sink could cause
  1785. a memory access error (bug introduced in 3.20).  (zfilter.c)
  1786.     - Invoking stringwidth on a font whose BuildChar procedure did a
  1787. save could cause a memory manager error or infinite loop, because
  1788. stringwidth attempted to use an inapplicable shortcut.  (gschar.c)
  1789.     - The bounding box for rendering stroked Type 1 characters didn't
  1790. take square caps and miter joins into account.  (gs_type1.ps)
  1791.     - Invoking filter with DCTDecode or DCTEncode could cause an
  1792. addressing error if no dictionary argument was supplied.  (zfdctd.c,
  1793. zfdcte.c)
  1794.     - The Generic resource, the Font resource, and half a dozen
  1795. resources with no predefined instances all shared the same Instances
  1796. dictionary.  (gs_res.ps)
  1797.     - The temporary null device allocated for stringwidth was never
  1798. freed.  (gschar.h, gschar.c, zchar.c)
  1799.     - Internal operators, and structures that might be freed on stack
  1800. unwinding, could "escape" from the e-stack.  (zcontrol.c, ztype.c)
  1801.     - makefont and scalefont didn't properly handle a font whose
  1802. Encoding had been changed.  (bfont.h, zfont.c, zfont2.c)
  1803.     - Type 1 fonts with PaintType = 2 incorrectly checked for an xfont.
  1804. (gxfont.h, gschar.c, gsfont.c, zchar1.c, zfont1.c, zfont2.c)
  1805.     - Specifying a string argument with -d...=(...) or -d...=<...>
  1806. would cause an invalidaccess error.  (gs.c)
  1807.     - The environment for encapsulated jobs didn't rebind quit to stop
  1808. in userdict.  (gs_lev2.ps)
  1809.     - restore didn't deal properly with open files on the e-stack.
  1810. (zvmem.c)
  1811.     - Even with the '-' switch, Ghostscript would try to read ahead in
  1812. the input stream rather than processing input character-by-character.
  1813. (ziodev.c)
  1814.     - If an error occurred with a unreadable dictionary on any stack,
  1815. the standard error printer would get into an error loop and exit the
  1816. interpreter.  (gs_init.ps)
  1817.     - The for_roots macro in igc.c used ap rather than mem as its
  1818. second formal parameter.  (This typo had no effect on the executable
  1819. program.)  (igc.c)
  1820.     - If saving the stacks for an error caused a GC request, a value
  1821. could get stored into an improper variable on the C stack, causing havoc.
  1822. (interp.c)
  1823.     - setdash checked to make sure that the distance array had read
  1824. access; Adobe interpreters don't check this.  (zgstate.c)
  1825.     - The roots for gs_run_string and gs_interpret weren't registered
  1826. properly, which could cause a dangling reference in the case of a restore
  1827. whose save had been done earlier.  (gsmain.c, interp.c)
  1828.  
  1829. Adds an OpenOutputFile Boolean device parameter for printer devices; if
  1830. true, the device opens the OutputFile at the time the device is opened,
  1831. instead of waiting for the first showpage.  This helps with synchronization
  1832. when the OutputFile is a pipe.  (gdevprn.h, gdevprn.c)
  1833.  
  1834. Changes the BEGIN/END_OP_DEFS macros to require an explicit { and } at each
  1835. use.  (gsmain.c, interp.c, z*.c)
  1836.  
  1837. Arranges things so that the operators that the interpreter handles
  1838. specially are assigned the first N operator indices [internal change only].
  1839. (interp.h, iinit.c, interp.c)
  1840.  
  1841. Changes the operators max and min to .max and .min, to avoid conflicts with
  1842. PostScript programs that use these names for variables and also use 'bind'.
  1843. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE from programs that depend on
  1844. 'bind' binding in these operators; however, we have also defined procedures
  1845. max and min that just call the operators, which should take care of any
  1846. ordinary code.  (*.ps, zrelbit.c)
  1847.  
  1848. Streams
  1849. -------
  1850.  
  1851. Fixes bugs:
  1852.     - The pfb_state pointer in the eexecDecode filter state wasn't
  1853. marked as traceable for the garbage collector.  (sfilter.h)
  1854.     - The eexec decoding filter could access invalid memory or return
  1855. garbage under some conditions.  (Bug introduced in 3.12.)  (zmisc1.c)
  1856.     - The eexec decoding filter would incorrectly ask for more input if
  1857. the output buffer was full.  (seexec.c)
  1858.  
  1859. Library
  1860. -------
  1861.  
  1862. Fixes bugs:
  1863.     - Some compilers reserve the word 'try'.  (gshtscr.c)
  1864.     - Some compilers don't like line continuations (\) within a
  1865. preprocessor macro formal parameter list.  (gdevprn.h, gxdevice.h)
  1866.     - Memory devices created with an inverted palette (0=white,
  1867. 1=black) interchanged white and black in fill operations.  (gdevmem1.c)
  1868.     - The 'bits' variable in mem_mono_copy_mono was unused on
  1869. little-endian machines.  (gdevmem1.c)
  1870.     - Some garbage collector procedures were declared 'private'
  1871. inconsistently.  (gscie.c)
  1872.     - The new anti-aliased text capability accidentally caused all
  1873. characters to be oversampled.  (gschar.c)
  1874.     - Type 1 fonts with PaintType = 2 and StrokeWidth = 0 came out with
  1875. many pixels missing because of oversampling.  (gschar.c)
  1876.     - Type 1 font stem hints were not being processed correctly.
  1877. (gstype1.h, gxtype1.h, gstype1.c, gxhint2.c, gxhint3.c, gxpath.c)
  1878.     - The tracing message for 9/7 composite fonts incorrectly
  1879. identified them as 1/7 fonts.  (gschar0.c)
  1880.     - If a 1/7 or 9/7 composite font was a child of a non-modal font,
  1881. the font number of the child font was computed incorrectly.  (gschar0.c)
  1882.  
  1883. Splits up the various memory devices into one file per depth [internal
  1884. change only].  (gdevm*.c)
  1885.  
  1886. Version 3.20(beta) (10/31/94)
  1887. ==================
  1888.  
  1889. This version contains some support for a PDF interpreter; however, the PDF
  1890. code itself is not ready for release yet.  It also includes anti-aliased text
  1891. capability.  This release was not distributed to the public.
  1892.  
  1893. Documentation
  1894. -------------
  1895.  
  1896. Notes that the FAQ has moved to smallo.ruhr.de:pub/ghost/gs.faq.  (readme)
  1897.  
  1898. Documents various implementation limits.  (language.doc)
  1899.  
  1900. Procedures
  1901. ----------
  1902.  
  1903. Fixes bugs:
  1904.     - bcp.dev wasn't included in the list of dependencies for
  1905. level1.dev.  (gs.mak)
  1906.  
  1907. Changes the printout of version numbers so that it is always A.BC,
  1908. rather than A.B if C is zero.  (gs.c, gs_init.ps)
  1909.  
  1910. Utilities
  1911. ---------
  1912.  
  1913. Fixes bugs:
  1914.     - font2c didn't correctly handle Metrics or Metrics2 dictionaries
  1915. whose entries were arrays rather than scalars.  (font2c.ps, ccfont.h,
  1916. iccfont.c)
  1917.     - font2c didn't handle CDevProc.  (font2c.ps, ccfont.h, iccfont.c)
  1918.     - genconf could get a stack overflow on small machines.
  1919. (genconf.c)
  1920.  
  1921. Changes mergeini.ps so it can take arguments on the command line specifying
  1922. the input and output files.  (mergeini.ps)
  1923.  
  1924. Adds a gsdj500 shell script to parallel gsdj500.bat.  (gsdj500)
  1925.  
  1926. Drivers
  1927. -------
  1928.  
  1929. Fixes bugs:
  1930.     - The X driver didn't mask dynamically assigned colors properly, so
  1931. it could request the same color over and over again.  (gdevx.c)
  1932.  
  1933. Adds two alternate X Windows drivers, for helping debug drivers with other
  1934. color models:
  1935.     - x11alpha, an RGB device with 4-bit alpha capability (for
  1936.       copy_alpha only);
  1937.     - x11cmyk, a 1-bit-per-component CMYK device.
  1938. (devs.mak, gdevxalt.c)
  1939.  
  1940. Changes the left margin of the lj4dith driver to 0.26".  (gdevcdj.c)
  1941.  
  1942. Platforms
  1943. ---------
  1944.  
  1945. Fixes bugs:
  1946.     - If <sys/time.h> didn't exist, time_.h didn't always include
  1947. <time.h>.  (time_.h)
  1948.     - The OS/2 platform wouldn't compile.  (gdevpm.c)
  1949.     - The auxiliary VMS command files sometimes got blank lines
  1950. inserted when going through EOL conversion.  (vms.mak; delete gs_.com)
  1951.     - The VMS makefiles didn't include the Level 1 operators in
  1952. level1.dev.  (vms.mak)
  1953.     - The VMS gcc makefile didn't handle undefined DEVICE_DEVSn
  1954. variables properly.  (vms*.mak)
  1955.     - The VMS makefiles didn't recognize DEVICE_DEVS{1,2,5,7}.
  1956. (vms.mak)
  1957.  
  1958. At the request of a Unix expert, changes all the Unix shell scripts to use
  1959. exec gs ... "$@" rather than gs ... $*.  (gsnd, gsbj, gsdj, gslj, gslp)
  1960.  
  1961. Modifies the JPEG library so that it uses 4K less of the automatic data
  1962. segment in 16-bit environments.  (bcwin.mak, jpeg.mak, sjpeg.c, sjpegerr.c)
  1963.  
  1964. Adds the bmp drivers back into the 16-bit MS Windows executable, since they
  1965. will fit now.  (bcwin.mak)
  1966.  
  1967. Fonts
  1968. -----
  1969.  
  1970. Makes the font substitution algorithm recognize the word Roman as calling
  1971. for a serif font.  (gs_fonts.ps)
  1972.  
  1973. Interpreters
  1974. ------------
  1975.  
  1976. Fixes bugs:
  1977.     - The fix in 3.13 for the inexact function values at 0 didn't work.
  1978. (zcontrol.c)
  1979.     - Level 1 configurations referenced an undefined procedure
  1980. gs_currenthalftone.  (gsht.c, gsht1.c)
  1981.     - Specifying any device properties (including -r and -g) on the
  1982. command line caused an error.  (gs_init.ps)
  1983.     - The forward declaration of cfont_name_array_create was
  1984. incorrect.  (iccfont.c)
  1985.     - save and restore could get called before the graphics state stack
  1986. had been initialized properly.  (gs_mex_e.ps)
  1987.     - Some encodings weren't loaded properly.  (gs.mak, gs_mex_e.ps,
  1988. gs_mro_e.ps, gs_pdf_e.ps, gs_wan_e.ps)
  1989.     - Zero-height images were allowed, but zero-width images
  1990. weren't.  (zpaint.c)
  1991.     - Neither zero-width nor zero-height images popped their
  1992. arguments from the operand stack.  (zpaint.c)
  1993.     - lib_file_fopen overwrote its file name argument, causing havoc
  1994. with @-files.  (gxiodev.h, gdevpipe.c, gsiodev.c, zfile.c)
  1995.     - The garbage collector got confused if there were any arrays or
  1996. dictionaries with 8K or more elements.  (igcref.c)
  1997.     - >> could leave the stacks in a questionable state if it failed.
  1998. (gs_init.ps)
  1999.     - The Category resource category didn't implement undefineresource.
  2000. (gs_res.ps)
  2001.     - When the token operator read the last token from a string, it
  2002. left an unchanged string on the stack instead of an empty string.
  2003. (stream.c)
  2004.     - noaccess didn't give an invalidaccess error when applied to the
  2005. permanent dictionaries.  (dstack.h, idict.c, ztype.c)
  2006.     - Overflowing the exec stack wasn't handled properly.  (istack.h,
  2007. istack.c)
  2008.     - The garbage collector cleared the cached value pointers in names,
  2009. causing interpretation to slow down substantially.  (idict.c, igc.c,
  2010. iname.c)
  2011.     - 0 dict created a dictionary with a maxlength of 1.  (idict.c)
  2012.  
  2013. Changes the default size of the execution stack from 150 to 250, to match
  2014. the Adobe "typical" value.  (interp.c)
  2015.  
  2016. Moves the operator definitions out of the automatic data segment.
  2017. (opdef.h, iinit.c, z*.c)
  2018.  
  2019. Adds operators that allow creation of objects in system space:
  2020. .systemvmstring, .systemvmarray, .systemvmpackedarray, .systemvmdict,
  2021. .systemvmcheck.  (zsysvm.c)
  2022.  
  2023. Renames gcdefs.h as gscdefs.h.
  2024.  
  2025. Allocates names in system space rather than global space.  (gsmain.c)
  2026.  
  2027. Changes the memory manager so that it allows programs to create objects in
  2028. system space.  (iref.h, iutil.h, ivmspace.h, ...)
  2029.  
  2030. Changes the implementation of filters so they appear in their own
  2031. dictionary named filterdict.  (gs_init.ps, z*.c)
  2032.  
  2033. Changes the implementation of color spaces so each one has its own
  2034. setcolorspace procedure, defined in a new dictionary named
  2035. colorspacedict.  (gs_lev2.ps, z*.c)
  2036.  
  2037. Adds a new debugging switch, $, that always initializes all fields in a
  2038. ref, in order to keep Purify happy.  (store.h)
  2039.  
  2040. Library
  2041. -------
  2042.  
  2043. Fixes bugs:
  2044.     - The page size for image devices was always set to (0, 0).
  2045. (gsdevice.c)
  2046.     - The PageSize computation in gx_default_put_params could overflow
  2047. on 16-bit machines.  (gsdparam.c)
  2048.     - An omitted 'static' on an initialized array caused a compiler
  2049. error.  (gxccman.c)
  2050.     - If interpolated image rendering was requested but not
  2051. actually carried out, gs_image_cleanup could attempt to free a random
  2052. pointer.  (gsimage.c)
  2053.     - Some compilers only retain 23 characters of procedure names, but
  2054. some procedure names weren't unique in the first 23 characters.  (gscie.c,
  2055. gscolor.c, gscolor1.c, gxcmap.c)
  2056.     - The garbage collector didn't trace device colors properly.
  2057. (gxdcolor.h, gzht.h, gsimage1.c, gspcolor.c, gxcht.c, gxcmap.c, gxdraw.c,
  2058. gxht.c)
  2059.     - For CMYK devices, the transfer functions were being applied to
  2060. the CMYK values rather than the complemented RGBW values.  (gxcmap.c)
  2061.     - Memory devices used their own color mapping procedures rather
  2062. than those of the target; this could cause incorrect colors for patterns on
  2063. devices with more than 1 bit per pixel.  (gxdevmem.h, gdevmem1.c, gdevpm.c,
  2064. gdevprn.c, gdevwdib.c, gschar.c, gsdevice.c, gxccache.c, gxccman.c,
  2065. gxclip2.c, gxclread.c, gxpcmap.c)
  2066.     - The garbage collector didn't trace image enumerators properly in
  2067. the image_render_simple case.  (gsimage.c)
  2068.     - stroke produced different-looking output for thin (zero-width)
  2069. lines depending on whether or not clipping was invoked.  (gxstroke.c)
  2070.     - If a clipping list changed from multiple rectangles to a single
  2071. rectangle, it could fail to clip properly thereafter.  (gxacpath.c)
  2072.  
  2073. Adds two new device procedures: alpha_bits and copy_alpha.  This change is
  2074. backward-compatible for all existing devices.  (gdevmem.h, gxdevice.h,
  2075. gsdevice.c, gxclip2.c, gxclist.c, gxcpath.c)
  2076.  
  2077. Changes the implementation of color halftones so that, when appropriate, it
  2078. generates a single cell and uses the device tile_rectangle procedure.
  2079. (gzht.h, gsht.c, gxcht.c, gxclist.c, gxclread.c)
  2080.  
  2081. Adds partial support for the Orientation page device parameter.
  2082. (gsdevice.c)
  2083.  
  2084. Adds support for anti-aliased characters using 2 or 4 bits of alpha.
  2085. (gxfcache.h, gschar.c, gxccache.c)
  2086.  
  2087. Version 3.13(private) (10/3/94)
  2088. =====================
  2089.  
  2090. This release was created for a customer; it was not distributed to the
  2091. public.
  2092.  
  2093. Documentation
  2094. -------------
  2095.  
  2096. Notes in make.doc that the file names in the IJG archive distributed with
  2097. Ghostscript do not include the gsA.BC/ prefix.  (make.doc)
  2098.  
  2099. Adds a cross-reference to make.doc to the Watcom makefiles.  (watc.mak,
  2100. watcwin.mak, wccommon.mak)
  2101.  
  2102. Procedures
  2103. ----------
  2104.  
  2105. Fixes bugs:
  2106.     - The makefile rule for gconfig.h et al had a couple of blank lines
  2107. in the middle of it.  (gs.mak)
  2108.  
  2109. Utilities
  2110. ---------
  2111.  
  2112. Fixes bugs:
  2113.     - wrfont.ps didn't add a lenIV entry to the Private dictionary if
  2114. it was needed.  (wrfont.ps)
  2115.  
  2116. Adds a packfile.ps utility that allows compressing multiple files into a
  2117. single file for environments with very little permanent storage.
  2118. (gs_pfile.ps, packfile.ps, wrfont.ps)
  2119.  
  2120. Drivers
  2121. -------
  2122.  
  2123. Fixes bugs:
  2124.     - The {tiff,fax}{g32d,g4} devices could produce incorrect output.
  2125. See under Streams below.
  2126.     - The dfax drivers referred to the obsolete structure member
  2127. EncodedEOLAlign.  (gdevdfax.c)
  2128.  
  2129. Changes the default bit order for TIFF/F output to little-endian, which is
  2130. apparently what the majority of TIFF decoders like best.  The bit order for
  2131. the fax drivers is still big-endian.  (gdevdfax.c, gdevtfax.c)
  2132.  
  2133. Platforms
  2134. ---------
  2135.  
  2136. Fixes bugs:
  2137.     - The VMS build script used -a rather than -w for creating
  2138. gconfig_.h.  (vms.mak)
  2139.     - The VMS build script didn't create gconfigv.h.  (vms.mak)
  2140.     - The VMS Fontmap had incorrect entries for the Bitstream Charter
  2141. fonts.  (fontmap.vms)
  2142.     - The VMS MODULES.LIS file assumed the JPEG library files were in
  2143. directory JPEG rather than JPEG-5.  (modules.lis)
  2144.  
  2145. Fonts
  2146. -----
  2147.  
  2148. Fixes bugs:
  2149.     - Using DISKFONTS resulted in an invalidaccess error.
  2150. (gs_fonts.ps)
  2151.  
  2152. Interpreter
  2153. -----------
  2154.  
  2155. Fixes bugs:
  2156.     - The standard transfer function considered gray values above
  2157. roughly 0.994 equivalent to white; 0.999 is a better value.  (gs_init.ps)
  2158.     - The transfer, black generation, and undercolor removal functions
  2159. gave slightly inexact results for an input value of 0.  (zcolor.c,
  2160. zcontrol.c)
  2161.     - setpagedevice gave an /undefined error if it did not recognize a
  2162. key, rather than ignoring the key.  (zdevice.c, gs_init.ps, gs_lev2.ps,
  2163. gs_setpd.ps)
  2164.  
  2165. Changes .putdeviceparams to take an additional argument, a Boolean that
  2166. says whether or not unrecognized keys should be reported as /undefined
  2167. errors.  THIS IS A NON-BACKWARD-COMPATIBLE CHANGE; however, no user-written
  2168. code should be calling .putdeviceparams.  (zdevice.c)
  2169.  
  2170. Streams
  2171. -------
  2172.  
  2173. Fixes bugs:
  2174.     - The Group 3 2-D and Group 4 fax encoders could emit incorrect
  2175. output.  (scfe.c)
  2176.     - The algorithm for constructing optimal Huffman codes could
  2177. produce invalid codes in some rare cases.  (shcgen.c)
  2178.  
  2179. Library
  2180. -------
  2181.  
  2182. Fixes bugs:
  2183.     - Rectangles closed with lineto rather than closepath weren't
  2184. recognized as rectangles.  (This only affected performance, not
  2185. functionality.)  (gxpath2.c)
  2186.     - The xfont lookup_font procedure could get called with a matrix
  2187. whose translation components had never been initialized.  (gxccman.c)
  2188.     - Some compilers don't allow \ in the formal argument list of a
  2189. preprocessor macro.  (gdevprn.h, gxdevice.h)
  2190.  
  2191. Version 3.12 (9/29/94)
  2192. ============
  2193.  
  2194. This is another bug fix release, the first Level 2 release that we believe
  2195. is reasonably reliable.
  2196.  
  2197. Documentation
  2198. -------------
  2199.  
  2200. Adds some text warning about making copies of the makefile.  (make.doc)
  2201.  
  2202. Procedures
  2203. ----------
  2204.  
  2205. Fixes bugs:
  2206.     - There were a number of unnecessary dependencies on $(MAKEFILE) in
  2207. gs.mak, left over from before the existence of gconfigv.h.  (gs.mak)
  2208.     - JPEGSRC was defined in gs.mak rather than in jpeg.mak.  (gs.mak,
  2209. jpeg.mak)
  2210.  
  2211. Changes the version numbering scheme back to A.BC, since people seem to be
  2212. adapting to the change, and this allows using the version number directly
  2213. as a MS-DOS directory name.  (gconfig.c, gdevtfax.c, gs.c, gs_init.ps)
  2214.  
  2215. Updates the JPEG library to version 5 (official release) of the IJG code.
  2216. (jpeg/*, jpeg.mak)
  2217.  
  2218. Drivers
  2219. -------
  2220.  
  2221. Fixes bugs:
  2222.     - The TIFF/F driver put out invalid PageNumber and Software
  2223. entries.  (gdevtifs.h, gdevtfax.c)
  2224.     - The TIFF/F and fax Group 3 2-D drivers used K=3 and K=5 instead
  2225. of K=2 and K=4.  (gdevtfax.c)
  2226.     - The TIFF/F and fax Group 3 2-D drivers emitted improperly aligned
  2227. output.  (See under Streams below.)
  2228.     - The MS Windows driver didn't resize the window properly in
  2229. response to changing the device parameters.  (gdevmswn.c)
  2230.  
  2231. Because of complementary bugs in various C compilers, changes all the
  2232. non-printer devices to use a different set of macros.  (gdevmem.h,
  2233. gdevpcfb.h, gdevprn.h, gdevsvga.h, gxdevice.h, gdev{3b1, bgi, herc, l256,
  2234. pe, pm, sun, vglb, wddb, wdib, wprn, x}.c, gsdevice.c, gxacpath.c,
  2235. gxclip2.c, gxcpath.c, gxpcmap.c, zupath.c)
  2236.  
  2237. Changes the X11 driver to ignore the "margins" specified by Ghostview.
  2238. This is apparently necessary for Ghostview to handle landscape display
  2239. properly.  (gdevxini.c)
  2240.  
  2241. Adds a WindowID parameter to the X11 device, to allow setting the window
  2242. for the output.  (gdevx.h, gdevx.c, gdevxini.c)
  2243.  
  2244. Platforms
  2245. ---------
  2246.  
  2247. Fixes bugs:
  2248.     - The definition of BEGINFILES in os2.mak occurred too late in the
  2249. file to have the desired effect.  (os2.mak)
  2250.  
  2251. Interpreter
  2252. -----------
  2253.  
  2254. Fixes bugs:
  2255.     - Updating the list of allocated file objects at a restore didn't
  2256. clear the prev pointer of the new head, which could cause the garbage
  2257. collector to encounter an invalid pointer.  (Bug introduced by .forgetsave
  2258. in 3.0.3.)  (zfile.c)
  2259.  
  2260. Streams
  2261. -------
  2262.  
  2263. Fixes bugs:
  2264.     - The CCITTFaxEncode filter with K > 0 and EncodedByteAlign = true
  2265. incorrectly aligned the 1-D/2-D bit as the last bit of a byte, rather than
  2266. the first bit.  (scfx.h, scfe.c)
  2267.     - eexec could loop indefinitely under certain conditions.
  2268. (seexec.c)
  2269.     - eexec's algorithm for recognizing text vs. binary encoding didn't
  2270. work properly in some cases that don't conform to the Adobe Type 1 Font
  2271. Format documentation.  (seexec.c)
  2272.     - Closing a stream didn't clear out the strm and state pointers,
  2273. which could cause invalid accesses by the garbage collector.  (stream.c)
  2274.  
  2275. Library
  2276. -------
  2277.  
  2278. Fixes bugs:
  2279.     - fill_loop could loop indefinitely under certain conditions.
  2280. (Introduced by a bug fix in 3.1.)  (gxfill.c)
  2281.     - fill/eofill sometimes failed to paint parts of a region.
  2282. (Introduced by a bug fix in 3.1.1.)  (gxfill.c)
  2283.     - Non-convex clipping paths sometimes omitted thin horizontal
  2284. slivers of the region.  (Probably introduced by the "thin graphics" fix in
  2285. 3.1.)  (gxacpath.c)
  2286.  
  2287. Version 3.1.1 (9/25/94)
  2288. =============
  2289.  
  2290. This is primarily a bug fix release.  It was originally intended for some
  2291. commercial licensees, but beta testers found too many problems with it.
  2292.  
  2293. Documentation
  2294. -------------
  2295.  
  2296. Fixes bugs:
  2297.     - NEWS didn't indicate that there was a non-backward-compatible
  2298. change in the gx_device structure -- specifically, that l_margin,
  2299. b_margin, r_margin, and t_margin were replaced by macros named
  2300. dev_l_margin(dev), etc.  (news)
  2301.  
  2302. Describes the two-phase commit requirement for device put_params
  2303. procedures.  (drivers.doc, gsparam.h)
  2304.  
  2305. Procedures
  2306. ----------
  2307.  
  2308. Fixes bugs:
  2309.     - The new S macro in genarch.c didn't work on compilers that do
  2310. macro substitution within string constants (which is forbidden by the ANSI
  2311. standard).  (genarch.c)
  2312.  
  2313. Drivers
  2314. -------
  2315.  
  2316. Fixes bugs:
  2317.     - Driver put_params implementations didn't observe a "two-phase
  2318. commit" discipline; this could lead to the current device in the graphics
  2319. state being closed, and other inconsistencies.  (gsparam.h, gxdevice.h,
  2320. iparam.h, gdevbit.c, gdevcdj.c, gdevmswn.c, gdevpcfb.c, gdevpm.c,
  2321. gdevprn.c, gdevx.c, gsdevice.c, gsdparam.c, zdevice.c, ziodev2.c, zmisc2.c)
  2322. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE; however, it only affects
  2323. put_params implementations, of which there are few.
  2324.  
  2325. NOTE THE NON-BACKWARD-COMPATIBLE CHANGE IN THE gx_device STRUCTURE UNDER
  2326. 'Documentation' ABOVE.  (gdevescp.c, gdevsj48.c, gdevsppr.c, gdevxini.c)
  2327.  
  2328. Platforms
  2329. ---------
  2330.  
  2331. Ensures that the Unix makefiles all include all the variants of TIFF/F and
  2332. fax drivers.  (ansihead.mak, cc-head.mak, gcc-head.mak)
  2333.  
  2334. Interpreter
  2335. -----------
  2336.  
  2337. Fixes bugs:
  2338.     - Most of the contents of statusdict were missing when
  2339. running a Level 2 system in Level 1 mode.  (zmisc2.c)
  2340.  
  2341. Version 3.1 (9/20/94)
  2342. ===========
  2343.  
  2344. This release finally includes a usable subset implementation of
  2345. setpagedevice, including all the machinery needed to address the
  2346. long-standing "margins" problems.
  2347.  
  2348. Documentation
  2349. -------------
  2350.  
  2351. Fixes bugs:
  2352.     - t_oparray objects weren't identified as behaving differently
  2353. depending on whether they were marked executable.  (iref.h)
  2354.     - drivers.doc had gx_color_value instead of gx_color_index in
  2355. the description of color mapping.  (drivers.doc)
  2356.  
  2357. Updates drivers.doc to reflect the change from static_procs to
  2358. std_procs in the gx_device structure.  (drivers.doc)
  2359.  
  2360. Procedures
  2361. ----------
  2362.  
  2363. Fixes bugs:
  2364.     - The commands for building the JPEG library used rm instead
  2365. of rm -f.  (jpeg.mak)
  2366.  
  2367. Drivers
  2368. -------
  2369.  
  2370. Fixes bugs:
  2371.     - The X Windows driver hadn't been updated to reflect some
  2372. name changes in members of the gx_color_info structure.  (gdevx.h,
  2373. gdevx.c, gdevxini.c)
  2374.  
  2375. Changes all non-printer drivers so that they use the new std_device_body
  2376. macros.  (gdev*.c)
  2377.  
  2378. Adds a print_page_copies procedure for printer drivers, allowing the
  2379. driver to receive num_copies.  (gdevprn.h, gdevprn.c)
  2380.  
  2381. Interpreter
  2382. -----------
  2383.  
  2384. Fixes bugs:
  2385.     - ref_memory_enum/reloc_ptrs were declared inconsistently.
  2386. (ialloc.c)
  2387.     - If the operand of restore was invalid, the restore did
  2388. nothing, instead of giving a typecheck.  (zvmem.c)
  2389.     - In Level 2, the margins and setmargins compatibility
  2390. operators were defined incorrectly in terms of current/setpagedevice.
  2391. (gs_lev2.ps)
  2392.  
  2393. Enables .makeoperator to make local operators as well as global ones.
  2394. (opdef.h, iinit.c, zmisc.c, zpacked.c)
  2395.  
  2396. Finishes implementing the TransferFunction entry in halftone
  2397. dictionaries.  (zht1.c, zht2.c)
  2398.  
  2399. Adds .set/currentfilladjust operators for access to the fill
  2400. adjustment parameter in the graphics state.  (zgstate.h)
  2401.  
  2402. Removes the deviceinitialmatrix operator.  (zdevice.c)
  2403.  
  2404. Changes defaultmatrix from a procedure to an operator.  (zmatrix.c)
  2405.  
  2406. Sets the fill adjustment to 0.5 for high-resolution devices, effectively
  2407. implementing Adobe's any-part-of-pixel filling rule.  (gs_init.ps)
  2408.  
  2409. Implements a small but useful subset of setpagedevice.  (gs_lev2.ps)
  2410.  
  2411. Streams
  2412. -------
  2413.  
  2414. Fixes bugs:
  2415.     - The eexec decoder incorrectly concluded that its data was
  2416. in hex form if the first data character was whitespace.  (seexec.c)
  2417.  
  2418. Library
  2419. -------
  2420.  
  2421. Fixes bugs:
  2422.     - Thin graphics (e.g., lines or rectangles) with small angles
  2423. relative to the X axis rendered with many points missing.  (gxdraw.c,
  2424. gxfill.c)
  2425.     - The character cache rejected oversampled characters if the
  2426. scaled-up size was too large, even if the scaled-down size wasn't.
  2427. (gxchar.h, gschar.c, gxccache.c, gxccman.c)
  2428.     - A call on sqrt with an integer argument didn't promote it
  2429. explicitly to double, which is required for non-ANSI compilers.
  2430. (gshtscr.c)
  2431.  
  2432. Finishes implementing the TransferFunction entry in halftone
  2433. dictionaries.  (gsht1.c)
  2434.  
  2435. Modifies the character oversampler so it can produce gray scale
  2436. output instead of a 1-bit mask.  We don't actually make use of this
  2437. ability yet.  (gxccman.c)
  2438.  
  2439. Adds gs_set/currentfilladjust for access to the fill adjustment
  2440. parameter in the graphics state.  (gsstate.h, gsstate.c)
  2441.  
  2442. Changes the names of the last few routines beginning with gz_ to
  2443. begin with gx_ instead.  (gzdraw.h => gxdraw.h, gsimage*.c, gxdraw.c,
  2444. gxfill.c, gxstroke.c)
  2445.  
  2446. Properly implements the PageSize, Margins, .HWMargins, and ImagingBBox
  2447. device parameters for all devices.  (gscoord.c, gsdparam.c, gspath2.c)
  2448. Implements the NumCopies device parameter for printer devices.
  2449. (gdevprn.c)
  2450.  
  2451. Implements std_device_body macros to help insulate statically initialized
  2452. non-printer devices from future changes in the gx_device structure.
  2453. (gxdevice.h, ... many .c files ...)
  2454.  
  2455. Version 3.0.3 (9/16/94)
  2456. =============
  2457.  
  2458. This is primarily a bug fix release; it also implements most of the
  2459. remaining Level 2 loose ends (except for setpagedevice).
  2460.  
  2461. Documentation
  2462. -------------
  2463.  
  2464. Changes code that refers to "Ghostscript" to use the correct product
  2465. name from gs_product.  (gs.mak, gdevpbm.c, gdevsun.c, gswppm.c)
  2466.  
  2467. Documents the new .forgetsave operator.  (language.doc)
  2468.  
  2469. Clarifies the distinction between commercial licensing and single-copy
  2470. end-user sales.  (readme)
  2471.  
  2472. Procedures
  2473. ----------
  2474.  
  2475. Fixes bugs:
  2476.     - The compilation rule for gdevadmp.c was missing from the
  2477. makefile.  (devs.mak)
  2478.  
  2479. Changes the version numbering scheme back to A.B.C, since too many
  2480. people got confused by the change to A.BC.  (gconfig.c, gs.c,
  2481. gs_init.ps)
  2482.  
  2483. Adds a -dNOGC switch to prevent the garbage collector from being
  2484. enabled.  (gs_init.ps)
  2485.  
  2486. Utilities
  2487. ---------
  2488.  
  2489. Removes the ps2image utility, since the new psmono driver replaces it.
  2490.  
  2491. Drivers
  2492. -------
  2493.  
  2494. Fixes bugs:
  2495.     - The TIFF drivers incorrectly assumed that short and ulong
  2496. were the same size as TIFF_short and TIFF_ulong, causing problems on
  2497. 64-bit systems.  (gdevtfax.c)
  2498.     - The EGA/VGA driver didn't do gray halftones properly if it
  2499. was configured as a monochrome or 8-color device.  (gdevpcfb.h)
  2500.     - The comment in gdevevga.c incorrectly identified the file
  2501. as gdevpcfb.c.  (gdevevga.c)
  2502.  
  2503. Changes the PC display drivers to save and restore more of the BIOS
  2504. state.  (gdevpcfb.h, gdevevga.c, gdevpcfb.c, gdevsco.c)
  2505.  
  2506. Adds a new psmono driver that does the same thing as ps2image, faster
  2507. and more conveniently.  (gdevpsim.c)
  2508.  
  2509. Replaces the X11 driver with the one from 3.01, since the color
  2510. handling rewrite in 3.02 introduced serious bugs.  (gdevx.h, gdevx.c,
  2511. gdevxini.c)
  2512.  
  2513. Platforms
  2514. ---------
  2515.  
  2516. Changes the definition of gx_no_color_index to work around one of the
  2517. bugs in the SGI Irix compiler.  (gxdcolor.h)
  2518.  
  2519. Rewrites the installation commands in unix-end.mak so they don't have
  2520. very long lines.  (unix-end.mak)
  2521.  
  2522. Fonts
  2523. -----
  2524.  
  2525. Fixes bugs:
  2526.     - Fonts that used 2- or 4-element arrays in the Metrics dictionary
  2527. interpreted the width and side bearing interchanged with each other.
  2528. (gs_type1.ps)
  2529.     - Setting FONTPATH on the command line didn't work.  (gs_fonts.ps)
  2530.  
  2531. Streams
  2532. -------
  2533.  
  2534. Fixes bugs:
  2535.     - The stream position wasn't updated properly if sgets
  2536. crossed a buffer boundary.  (stream.c)
  2537.  
  2538. Extends the BoundedHuffman filters so they can encode and decode runs of
  2539. zeros specially, and so they mark and detect EOD.  (sbhc.h, shc.h, sbhc.c,
  2540. zfilter2.c)
  2541.  
  2542. Provides an alternate implementation of file streams which doesn't use
  2543. stdio buffering and which works around the System V "interrupted system
  2544. call" problem.  (stream.c, sfile.c, sfileno.c)
  2545.  
  2546. Increases the maximum LZW output code from 3000 to 4095.  (slzwe.c)
  2547.  
  2548. Interpreter
  2549. -----------
  2550.  
  2551. Fixes bugs:
  2552.     - Opening a filter on a file of the wrong access type (read
  2553. vs. write) didn't cause an error.  (stream.h, sbasic.c, zfile.c, zfileio.c)
  2554.     - save performed an extra, unnecessary gsave.  (zvmem.c)
  2555.     - sethalftone always gave a /undefined error.  (zht2.c)
  2556.     - eexec decryption read too much data from the input -- in
  2557. Level 2, it isn't allowed to read 512 characters ahead.  (sfilter.h,
  2558. strimpl.h, seexec.c, sstring.c, zfileio.c, zmisc1.c)
  2559.     - The scanner was too aggressive about allocating additional
  2560. space for strings on small machines.  (iscan.c)
  2561.     - The AccurateScreens flag in Type 1 and Type 2 halftone
  2562. dictionaries was being ignored.  (zht2.c)
  2563.     - The Level 2 definition of margins in statusdict didn't
  2564. allow for Margins being undefined in the current page device.
  2565. (gs_lev2.ps)
  2566.     - The Interpolate flag was being ignored in image
  2567. dictionaries.  [implemented in library]
  2568.     - The TransferFunction option was being ignored in halftone
  2569. dictionaries.  (zht2.c)
  2570.     - Type 5 halftones usually didn't work, because they called
  2571. the wrong (or an invalid) spot function.  (zht2.c)
  2572.  
  2573. Implements a .forgetsave operator that effectively causes a given save (and
  2574. all more recent saves) to disappear.  (isave.h, stream.h, isave.c, zfile.c,
  2575. zvmem.c)
  2576.  
  2577. Library
  2578. -------
  2579.  
  2580. Fixes bugs:
  2581.     - In the 1-operand form of the image operator, a Decode value of [1
  2582. 0] with 8-bit sample values and a single data source was treated the same
  2583. as [0 1].  (gsimage1.c)
  2584.     - Some Monotype fonts put a callsubr between an OtherSubr call and
  2585. the following 'pop' opcodes (which the Adobe documentation forbids); The
  2586. Type 1 font interpreter gave an invalidfont error rather than allowing
  2587. this.  (gxtype1.h, gstype1.c)
  2588.     - Patterns didn't implement XStep and YStep properly.
  2589. (gxpcolor.h, gspcolor.c, gxclip2.c)
  2590.     - Clipping regions were sometimes 1 pixel too small at the edges;
  2591. this could cause vertical and horizontal lines produced by certain Windows
  2592. drivers to disappear.  (gzpath.h, gxacpath.c, gxcpath.c, gxfill.c)
  2593.     - Oversampling cached rotated characters produced very bad
  2594. results (many dropouts).  (gschar.c)
  2595.     - Rendering a DeviceGray color on a DeviceCMYK device applied
  2596. the transfer function to all 4 components, not just to the K
  2597. component.  (gxcmap.c)
  2598.     - A screen specified with setcolorscreen didn't take effect
  2599. properly on CMYK devices.  (gsht.c)
  2600.  
  2601. Implements the Interpolate option for images.  Currently this is only
  2602. implemented for portrait-orientation images (no rotation, skewing, or
  2603. X-reflection).  (gscspace.h, gximage.h, gscie.c, gscolor.c, gscolor1.c,
  2604. gscolor2.c, gspcolor.c, gxcmap.c, gsimage.c, gsimage2.c, gsimage3.c)
  2605.  
  2606. Implements AccurateScreens, but only in the form of a larger limit on
  2607. the size of a halftone super-cell.  (gxht.h, gsht.c, gsht1.c)
  2608.  
  2609. Starts to implement the TransferFunction option for halftones.
  2610. (gzht.h, gzstate.h, gsht.c, ...too many others to list...)
  2611.  
  2612. Version 3.02 (8/30/94)
  2613. ============
  2614.  
  2615. This is another bug fix release.  It was distributed only to a few people,
  2616. since the new X Windows color mapping code is not reliable yet.
  2617.  
  2618. Documentation
  2619. -------------
  2620.  
  2621. Fixes bugs:
  2622.     - make.doc, but not unixtail.mak, called for setting PLATFORM=unix_
  2623. on SVR4 platforms.  (unixtail.mak)
  2624.     - drivers.doc contained some wording that suggested that
  2625. Ghostscript always used RGB colors internally.  (drivers.doc)
  2626.     - The definition of gx_device in drivers.doc had gotten out of sync
  2627. with gxdevice.h.  (drivers.doc)
  2628.     - README claimed that Ghostscript is not compatible with the
  2629. VAX/VMS DEC C compiler, which is no longer true.  (readme)
  2630.  
  2631. Adds a new section on printer drivers to drivers.doc.  (drivers.doc)
  2632.  
  2633. Adds a large number of new display boards to the 800x600 SVGA section of
  2634. use.doc.  (use.doc)
  2635.  
  2636. Adds a bug report form to the README file.  (readme)
  2637.  
  2638. Notes that OSF/1 AXP systems require changing the definition of INSTALL
  2639. from install to installbsd.  (make.doc)
  2640.  
  2641. Procedures
  2642. ----------
  2643.  
  2644. Removes -Wno-uninitialized from the gcc flags, and fixes all the places (in
  2645. Aladdin's code only) that need to be fixed to pacify gcc after doing this.
  2646. (gcc-head.mak, gdevgif.c, gdevmem2.c, gdevpcl.c, gs.c, gsht1.c, gsimpath.c,
  2647. gsutil.c, gxclread.c, gxpcopy.c, gxstroke.c, idict.c, iscannum.c, stream.c,
  2648. zdevice2.c) (NOT FINISHED YET)
  2649.  
  2650. Adds a FAKEFONTS switch that makes fake entries in FontDirectory for
  2651. unloaded fonts, for the benefit of programs that think they can find all
  2652. the available fonts by scanning FontDirectory.  (gs_fonts.ps, gs_init.ps)
  2653.  
  2654. Utilities
  2655. ---------
  2656.  
  2657. Fixes bugs:
  2658.     - ps2epsi didn't work, because setdevice now erases the page.
  2659. (ps2epsi.ps)
  2660.     - ps2epsi didn't work, because -dNODISPLAY installs a null device
  2661. with 0 width and height.  The fix -- to remove the -dNODISPLAY -- is not
  2662. satisfactory, because it opens an unnecessary window.  (ps2epsi)
  2663.  
  2664. Drivers
  2665. -------
  2666.  
  2667. Fixes bugs:
  2668.     - gdev_fax_open was incorrectly declared static in gdevtfax.c,
  2669. causing the extern reference in the dfax drivers not to be resolved.
  2670. (gdevtfax.c)
  2671.     - devs.mak included a duplicate definition of gdevmswn_h.
  2672. (devs.mak)
  2673.     - The fax drivers didn't link properly in Level 1 systems, because
  2674. shc.c was omitted from their dependency list.  (gs.mak, devs.mak)
  2675.     - The TIFF/F drivers didn't set RowsPerStrip properly.
  2676. (gdevtfax.c)
  2677.     - The TIFF/F drivers didn't byte-align the EOL properly.  (scfx.h,
  2678. gdevdfax.c, gdevtfax.c, scfe.c, zfilter2.c)
  2679.     - The rule for compiling gdevpccm.c incorrectly specified
  2680. dependency on gs.h rather than gx.h.  (devs.mak)
  2681.     - The rule for compiling gdevtfax.c didn't include time_.h as a
  2682. dependency.  (devs.mak)
  2683.     - The mode 2 compression routine for the DeskJet/LaserJet printers
  2684. was broken.  (gdevpcl.c)
  2685.  
  2686. Removes the -O0 from the compilation rule for gdevsco.c, since it was
  2687. misplaced to begin with.  (devs.mak)
  2688.  
  2689. Adds a maxDynamicColors X resource to control dynamic allocation in the
  2690. color map.  Replaces the X color lookup algorithms with completely new
  2691. ones, for a substantial performance gain.  (gdevx.h, gdevx.c, gdevxini.c)
  2692.  
  2693. Adds PageNumber, Software, and DateTime entries to the TIFF/F drivers.
  2694. (gdevtifs.h, gdevtfax.c)
  2695.  
  2696. Changes the margins for the LaserJet 4 to 0.  (gdevdjet.c)
  2697.  
  2698. Adds a user-contributed LaserJet 4 driver that does Floyd-Steinberg
  2699. dithering.  (gdevcdj.c)
  2700.  
  2701. Platforms
  2702. ---------
  2703.  
  2704. Fixes bugs:
  2705.     - The exit codes for Ghostscript should be different on VMS.
  2706. (iastate.h, gs.c, gsmain.c, igc.c, igcref.c)
  2707.     - The VMS DEC C compiler declares malloc and free in stdlib.h, and
  2708. delete and unlink in stdlib.h.  (malloc_.h, stdio_.h)
  2709.     - st_prn_device wasn't defined, which upset the VMS linker even
  2710. though there were no references.  (gdevprn.h)
  2711.     - stdpre.h didn't bring in the right headers when running gcc on
  2712. SCO Unix, causing compilation warnings/errors.  (stdpre.h)
  2713.     - The definition of rename in gp_sysv didn't include const for the
  2714. arguments.  (gp_sysv.c)
  2715.     - The definition of gettimeofday in gp_sysv didn't return any
  2716. value.  (gp_sysv.c)
  2717.     - time_.h didn't work on MS-DOS systems.  (time_.h)
  2718.     - math_.h didn't include <math.h> when compiling with gcc on VMS
  2719. systems.  (math_.h)
  2720.     - DesqView/X doesn't have a 'cat' command, which caused problems in
  2721. the linking step.  (dvx-tail.mak)
  2722.  
  2723. Changes the definitions of popen in gdevpipe.c and gp_unix.c so they don't
  2724. specify the argument list.  This is an attempt to get around the fact that
  2725. there is no easy way to detect whether the available header files declare
  2726. popen correctly (with const arguments), incorrectly (with non-const
  2727. arguments), or not at all.  (gdevpipe.c, gp_unix.c)
  2728.  
  2729. Replaces VMS.MAK, VMS-CC.MAK, and VMS-AXP.MAK with new versions provided by
  2730. a user.  (vms.mak, vms-cc.mak, vms-axp.mak)
  2731.  
  2732. Changes the 16-bit Borland makefiles so their standard configuration is
  2733. Level 1 plus color.dev (CMYK color and colorimage).  (bc.mak, bcwin.mak)
  2734.  
  2735. Fonts
  2736. -----
  2737.  
  2738. Fixes bugs:
  2739.     - cfonts.mak still referred to some .gsf files that have been
  2740. replaced by .pfa files.  (cfonts.mak)
  2741.     - Compiled fonts got entered into FontDirectory, but didn't get
  2742. registered as resources.  (gs_ccfnt.ps)
  2743.     - The Cyrillic, Kana, Hershey .gsf, and URW fonts didn't include a
  2744. necessary systemdict begin/end, which caused them to fail in badly designed
  2745. environments.  (fonts/f*.gsf, fonts/h*.gsf, fonts/?0*.gsf)
  2746.  
  2747. Changes the default target directory in cfonts.mak from fonts/c to .;
  2748. changes the names of the Zapf Chancery compiled font procedures from c* to
  2749. zc*.  (cfonts.mak)
  2750.  
  2751. Adds more fonts from the Adobe Type Manager package for MS Windows to
  2752. Fontmap.ATM.  (fontmap.atm)
  2753.  
  2754. Adds the entire set of 35 standard fonts to the ccfonts feature in gs.mak;
  2755. removes all the compilation rules for compiled fonts, since these rules are
  2756. in cfonts.mak already.  (gs.mak)
  2757.  
  2758. Interpreter
  2759. -----------
  2760.  
  2761. Fixes bugs:
  2762.     - kshow executed a null, rather than the correct procedure, between
  2763. the characters of the string, and got a typecheck error at the end.
  2764. (zchar.c)
  2765.     - MultiMaster fonts computed their side bearing and width
  2766. incorrectly, producing incorrect output.  (zchar1.c)
  2767.     - There was no structure definition for gs_type1_state, so a GC
  2768. during the execution of an OtherSubrs procedure could scramble pointers in
  2769. the saved state.  (zchar1.c, zfont1.c; also affects library, see below)
  2770.     - kshow didn't work properly if the kerning procedure changed the
  2771. depth of the operand or dictionary stack.  (zchar.c)
  2772.     - If the element count for roll was too large by only 1 or 2, the
  2773. result was a crash rather than a rangecheck.  (zstack.c)
  2774.     - restore didn't undo currentgstate.  (igstate.h, store.h,
  2775. gsstate.c, zdevice2.c, zdps1.c, ztype.c)
  2776.     - The scanner didn't set the local bit properly in a suspended
  2777. state.  (iscan.c)
  2778.     - copypage disregarded #copies.  (gs_init.ps)
  2779.     - An incorrectly declared pointer led to addressing faults on
  2780. 16-bit systems.  (zchar1.c)
  2781.     - The cache for Separation colors was allocated with one element
  2782. too few.  (zcsindex.c)
  2783.  
  2784. Changes `executive' so that if an error other than EOF occurs in the
  2785. reading of the statement, the interpreter prints the error message, but
  2786. control remains in the executive loop.  (This isn't a very good fix; a
  2787. better one will require refactoring executive / execute / run.)
  2788. (gs_init.ps)
  2789.  
  2790. Changes dictionary undo saving to use the new ref_must_save macro [internal
  2791. change only].  (idict.c)
  2792.  
  2793. Moves configuration definitions from iinit.c to gconfig.c.  (gcdefs.h,
  2794. interp.h, gconfig.c, gs.c, iinit.c, zmisc2.c, gs.mak)
  2795.  
  2796. Moves =string from systemdict to userdict for Adobe compatibility.
  2797. (gs_init.ps)
  2798.  
  2799. Starts to implement the Interpolate flag in image dictionaries.  See under
  2800. Library below for restrictions.  (zpaint.c, zimage2.c)
  2801.  
  2802. Streams
  2803. -------
  2804.  
  2805. Fixes bugs:
  2806.     - stream_compact attempted to compact a read-only string being used
  2807. as the data source of a filter.  (sbasic.c, stream.c)
  2808.  
  2809. Adds an EncodedEOLAlign flag to the CCITTFaxEncode stream, to allow direct
  2810. generation of TIFF/F output.  (scfx.h, scfe.c, zfilter2.c)
  2811.  
  2812. Library
  2813. -------
  2814.  
  2815. Fixes bugs:
  2816.     - There was no structure definition for gs_type1_state, so a GC
  2817. during the execution of an OtherSubrs procedure could scramble pointers in
  2818. the saved state.  (gxfont1.h, gxtype1.h, gstype1.c, gxhint2.c)
  2819.     - A couple of calls had to discard const, but didn't include the
  2820. necessary cast.  (gxpcmap.c)
  2821.     - makeimagedevice refused to accept an empty image.  (gsdevice.c)
  2822.     - The extra parentheses around arguments in memory_.h caused some
  2823. compilers to fail.  (memory_.h)
  2824.     - Floating point overflows during coordinate conversion terminated
  2825. Ghostscript.  (gxfarith.h, gxfixed.h, gsmatrix.c, gsmisc.c)
  2826.     - Accents still weren't getting placed properly on characters
  2827. created with seac.  (gstype1.c, gxhint2.c)
  2828.     - The SGI C compiler couldn't handle the (perfectly legal)
  2829. definitions of dev_init_[open_]misc.  (gxdevice.h)
  2830.     - string_.h caused some problems with gcc on some versions of
  2831. Solaris.  (string_.h)
  2832.     - The halftone levels for color screens were computed incorrectly.
  2833. (gzht.h, gxdither.c)
  2834.     - Color screens sometimes had vertical stripes of solid color
  2835. interspersed.  (gxcht.c)
  2836.     - Colors could get mapped incorrectly if a compiler aggressively
  2837. (and incorrectly) reordered the computation of procedure arguments
  2838. involving the unit_frac macro.  (gxcmap.c)
  2839.     - setcachedevice[2] insisted that the corners of the bounding box
  2840. be given in the correct order, i.e., llx < urx and lly < ury.  (gschar.c)
  2841.     - The image operator gave a limitcheck on unrotated 1-bit-per-pixel
  2842. images whose width in device coordinates exceeded 65529.  (gsimage.c)
  2843.     - The garbage collector didn't trace the input data of an
  2844. in-progress image operator correctly.  (gsimage.c)
  2845.  
  2846. Changes the max_rgb and dither_rgb members of gx_device_color_info to
  2847. max_color and dither_colors, since Ghostscript now uses these for CMYK
  2848. devices as well.  Also changes dither_gray to dither_grays.  (gdevmem.h,
  2849. gdevprn.h, gxdevice.h, gdevbit.c, gdevcdj.c, gdevprn.c, gdevxini.c,
  2850. gsdparam.c, gxcht.c, gxcmap.c)
  2851.  
  2852. Starts to implement the Interpolate option for images.  Currently this is
  2853. only implemented for image, not imagemask, and only for rotations that are
  2854. multiples of 90 degrees (possibly with reflection).  (gsimage.h,
  2855. gsiscale.h, gximage.h, gsimage.c, gsimage1.c, gsiscale.c)
  2856.  
  2857. Starts to implement XStep and YStep in pattern dictionaries.  (gxdcolor.h,
  2858. gxpcolor.h, gspcolor.c, gxpcmap.c)
  2859.  
  2860. Version 3.01 (8/14/94)
  2861. ============
  2862.  
  2863. This is a patch release to fix early problems in release 3.0, and to clean
  2864. up a few known loose ends.
  2865.  
  2866. Documentation
  2867. -------------
  2868.  
  2869. Fixes bugs:
  2870.     - language.doc still documented the devicename procedure, which has
  2871. been withdrawn.  (language.doc)
  2872.     - drivers.doc didn't specify under what circumstances each
  2873. procedure could be called.  (drivers.doc)
  2874.     - current.doc said that setcachedevice and makeimagedevice wouldn't
  2875. accept packed arrays, but neither of these operators takes any array
  2876. arguments.  (current.doc)
  2877.     - current.doc said that definefont didn't interact properly with
  2878. the resource machinery, which apparently is no longer true.  (current.doc)
  2879.     - make.doc incorrectly gave the name of the DVX makefile as
  2880. dvx-djg.mak rather than dvx-gcc.mak.  (make.doc)
  2881.     - In one place, devices.doc incorrectly used -sBitsPerPixel= rather
  2882. than -dBitsPerPixel=.  (devices.doc)
  2883.  
  2884. Notes that a kernel bug in SCO Unix makes Ghostscript not work correctly in
  2885. some circumstances.  (use.doc)
  2886.  
  2887. Procedures
  2888. ----------
  2889.  
  2890. Fixes bugs:
  2891.     - devs.mak incorrectly referred to gdevjetp.c instead of
  2892. gdev3852.c.  (devs.mak)
  2893.     - The obsolete file gsprops.c was accidentally included in the
  2894. fileset.
  2895.  
  2896. Changes the version numbering scheme from A.BCC to A.B[C].  E.g., this
  2897. release will be 3.01, not 3.001.  (gs_init.ps, gs.c, iinit.c)
  2898.  
  2899. Adds the LaserJet 4 driver to all makefiles that already include the
  2900. LaserJet 3 driver.  (*.mak)
  2901.  
  2902. Adds the BJ-200 driver to all makefiles that already included the BJ-10e
  2903. driver.  (*.mak)
  2904.  
  2905. Splits the Unix 'install' target into install-exec and install-data.  Moves
  2906. the executable scripts from gsdatadir to a new directory scriptdir, which
  2907. defaults to bindir.  (ansihead.mak, cc-head.mak, gcc-head.mak,
  2908. unix-end.mak)
  2909.  
  2910. Utilities
  2911. ---------
  2912.  
  2913. Fixes bugs:
  2914.     - genconf had fixed buffer sizes built into it, which it could
  2915. overrun its working storage without checking.  (genconf.c)
  2916.  
  2917. Removes RCS or SCCS headers from two utility files.  (pj-gs.sh,
  2918. printafm.ps)
  2919.  
  2920. Drivers
  2921. -------
  2922.  
  2923. Fixes bugs:
  2924.     - The new dfaxhigh and dfaxlow drivers didn't set
  2925. state.EncodedByteAlign to false.  (gdevdfax.c)
  2926.     - The sunview driver assumed that the device would be open before
  2927. map_rgb_color was called.  (gdevsun.c)
  2928.     - The CP50 driver incremented page_count itself, rather than
  2929. letting the core library do it.  (gdevcp50.c)
  2930.     - The GIF driver(s) could loop indefinitely under certain
  2931. circumstances.  (gdevgif.c)
  2932.     - The Group 4 fax drivers incorrectly included end-of-line codes in
  2933. the output.  (gdevtfax.c, gdevdfax.c)
  2934.     - The Group 4 fax drivers could put out an EOB in the middle of the
  2935. data.  (scfe.c)
  2936.     - The DesignJet 650C driver didn't use the correct compression
  2937. mode.  (gdevcdj.c)
  2938.     - The Hercules and EGA/VGA/SVGA drivers computed the page height
  2939. incorrectly according to the A4 switch.  (gdevherc.c, gdevpcfb.h)
  2940.  
  2941. Changes the page_count and showpage_count members of the device structure
  2942. from int to long.  (gxdevice.h, gdevprn.c, gsdparam.c)
  2943.  
  2944. Changes the faxg3, faxg32d, and faxg4 drivers so that, like the TIFF and
  2945. dfax drivers, they adjust the page size to one of the three CCITT standard
  2946. sizes if this is reasonable.  (gdevtfax.c)
  2947.  
  2948. Splits the bit driver into bit, bitrgb, and bitcmyk.  Adds bitrgb and
  2949. bitcmyk to all makefiles that included bit.  (*.mak, devs.mak, gdevbit.c)
  2950.  
  2951. Replaces the atiw16, tseng16, and tvga16 SuperVGA drivers with a single
  2952. svga16 driver that allows specifying the display mode number.  (devs.mak,
  2953. gdevpcfb.c)
  2954.  
  2955. Platforms
  2956. ---------
  2957.  
  2958. Fixes bugs:
  2959.     - The MS Windows and OS/2 drivers allocated their terminal input
  2960. buffers in a way that could cause the GC to crash.  (gp_mswin.c, gp_os2.c)
  2961.     - The handling of gettimeofday on SVR4 platforms was incorrect.
  2962. (time_.h, gp_sysv.c, gp_unix.c)
  2963.     - On some platforms, function prototypes were not enabled even if
  2964. __STDC__ was defined.  (stdpre.h)
  2965.     - The VMS build script referred to an obsolete feature lev2only.
  2966. (vms.mak)
  2967.  
  2968. Changes the DVX platform so that stdprn is buffered.  This should improve
  2969. printing performance dramatically.  (gp_dvx.c)
  2970.  
  2971. Fonts
  2972. -----
  2973.  
  2974. Fixes bugs:
  2975.     - Setting DISKFONTS resulted in a reference to FontFileDirectory
  2976. before it was defined.  (gs_type1.ps, gs_fonts.ps)
  2977.     - /Font findresource gave an error rather than doing font
  2978. substitution.  (gs_res.ps)
  2979.     - FontDirectory wasn't rebound to GlobalFontDirectory when global
  2980. VM was current.  (gs_res.ps, zdict.c)
  2981.     - Type 1 fonts weren't loaded into global VM.  (gs_fonts.ps)
  2982.     - In the standard Fontmap, the Utopia fonts had extension .gsf
  2983. rather than .pfa.  (fontmap.gs)
  2984.     - Fonts whose FontBBox was [0 0 0 0] were not displayed, or were
  2985. displayed as tiny dots.  (gs_type1.ps)
  2986.  
  2987. Interpreter
  2988. -----------
  2989.  
  2990. Fixes bugs:
  2991.     - dict_put could read from the variable pvslot before it was used.
  2992. (This was harmless, since the value was never actually used; it just upset
  2993. Purify.)  (idict.c)
  2994.     - Binary object sequences could cause addressing faults.
  2995. (iscanbin.c)
  2996.     - The attributes on names were set incorrectly in binary object
  2997. sequences.  (iscanbin.c)
  2998.     - gs.c duplicated (in some cases incorrectly) some definitions in
  2999. interp.h.  (gs.c)
  3000.     - gs_lib_paths was declared const in one place and non-const in
  3001. another.  (zfile.c)
  3002.     - file_restore and font_restore had inconsistent const declarations
  3003. for their argument.  (isave.c)
  3004.     - iodev_os_open_file was missing its last formal parameter.
  3005. (ziodev.c)
  3006.     - gs.c declared gs_devicename with an incorrect extern.  (gs.c)
  3007.     - undefinefont didn't interact properly with the resource
  3008. machinery.  (gs_lev2.ps)
  3009.     - The declaration for swap_entry used a typedef name as a formal
  3010. parameter, which upset some compilers.  (zmisc2.c)
  3011.     - Including the ccinit feature could cause the garbage collector to
  3012. make an invalid access.  (stream.c)
  3013.     - The check for t_[a]struct types in ztype.c was incorrect.
  3014. (ztype.c)
  3015.     - After the collection of halftone samples, temporary data
  3016. structures were freed incorrectly.  (gzht.h, gsht1.c, zht.c)
  3017.     - Images with source width between 489 and 492 crashed the
  3018. memory manager.  (iastate.h)
  3019.  
  3020. Makes it possible to define SEARCH_HERE_FIRST (gsmain.c) in the makefile.
  3021. (gsmain.c)
  3022.  
  3023. Splits the Level 2 resource machinery into a separate file.  (gs_lev2.ps,
  3024. gs_res.ps, gs.mak, unix-end.mak, vms.mak).
  3025.  
  3026. Changes the names of the DiffEncode/Decode filters to
  3027. PixelDifferenceEncode/Decode, and splits them off into a separate
  3028. "feature".  (gs.mak, zfilter2.c, zfpdiff.c, spdiff.c, spdiffx.h)
  3029.  
  3030. Adds experimental code for filtered image scaling.  DON'T USE THIS CODE.
  3031. (zimage2.c)
  3032.  
  3033. Streams
  3034. -------
  3035.  
  3036. Fixes bugs:
  3037.     - The CCITTFaxEncode filter could put out an EOB in the middle of
  3038. the data.  (scfe.c)
  3039.  
  3040. Splits off the PixelDifferenceEncode/Decode filters into a separate
  3041. "feature".  (gs.mak)
  3042.  
  3043. Library
  3044. -------
  3045.  
  3046. Fixes bugs:
  3047.     - gs_setcachedevice could return a garbage error code.  (gschar.c)
  3048.     - joins on stroked lines were incorrect if the device coordinate
  3049. system mapped +Y to +Y.  (gxstroke.c)
  3050.     - If gsmisc.c supplied versions of missing library routines, they
  3051. could clash with the names of the real ones if those were present
  3052. unexpectedly.  (memory_.h, gsmisc.c)
  3053.     - The initialization expression for is_open in the
  3054. dev_init_misc_open macro included a cast, which some compilers don't allow.
  3055. (gxdevice.h, gsdevice.c, gxclip2.c, gxpcmap.c)
  3056.     - In Type 1 fonts, character that specified their side bearing and
  3057. width with sbw rather than hsbw gave an invalidfont error.  (gstype1.c)
  3058.     - Some procedures were declared inconsistently with regard to const
  3059. arguments.  (gscie.c, gxpcmap.c, gxacpath.c, gxcmap.c)
  3060.     - A few places still assumed that pointers occupied 4 bytes.
  3061. (gxclist.c)
  3062.     - Rendering a gray halftone on a CMYK device called the device's
  3063. map_rgb_color procedure instead of map_cmyk_color.  (gxdither.c)
  3064.  
  3065. Renames gsfile.c as gswppm.c.  (gsfile.c, gswppm.c)
  3066.  
  3067. Implements the ability to cache arbitrarily transformed characters.  This
  3068. is currently enabled by a compile-time flag in gschar.c.  (gschar.c)
  3069.  
  3070. Version 3.0 (8/1/94)
  3071. ===========
  3072.  
  3073. This is the first full Level 2 version released to the public.
  3074. Unfortunately, we were not able to include setpagedevice in this release.
  3075.  
  3076. Documentation
  3077. -------------
  3078.  
  3079. Fixes bugs:
  3080.     - README didn't mention Aladdin's European distributor.
  3081.     - psfiles.doc didn't describe some of the newer gs_*.ps files.
  3082.  
  3083. Notes that gcc -O2 (version 2.5.8 of gcc) generates incorrect code for some
  3084. modules on the H-P RISC architecture.
  3085.  
  3086. Notes that on AXP platforms running VMS, DEC C V4.0 is required.
  3087.  
  3088. Procedures
  3089. ----------
  3090.  
  3091. Fixes bugs:
  3092.     - 'make clean' didn't delete devs.tr or t.tr.
  3093.     - devs.mak was missing the entry for faxg32d.
  3094.     - unixansi.mak omitted some drivers that were included in
  3095. unix-cc.mak and unix-gcc.mak.
  3096.  
  3097. Updates jpeg.mak to reference version 5beta1 of the IJG JPEG code.
  3098.  
  3099. Changes the version numbering scheme from A.B.C to A.B[CC].  I.e., the
  3100. first sub-release after 3.0 will be 3.01 or 3.001, not 3.0.1.
  3101.  
  3102. Utilities
  3103. ---------
  3104.  
  3105. Fixes bugs:
  3106.     - ps2ascii didn't do a setglobal.
  3107.  
  3108. Adds an option to ansi2knr to convert ... to va_alist/va_dcl.
  3109.  
  3110. Drivers
  3111. -------
  3112.  
  3113. Fixes bugs:
  3114.     - The newly added faxg32d driver didn't have an entry in devs.mak.
  3115.     - The BMP, GIF, and PCX drivers wrote out an incorrect color
  3116. palette (the blue values were too small).
  3117.     - The vgalib driver had some compilation problems.
  3118.     - The TIFF drivers didn't produce correct multi-page output.
  3119.  
  3120. Adds faxg32d and tiffg32d drivers.
  3121.  
  3122. Reinstates the DigiFax drivers, which were withdrawn when the new fax
  3123. drivers were added.
  3124.  
  3125. Platforms
  3126. ---------
  3127.  
  3128. Fixes bugs:
  3129.     - gs_btokn.ps and gs_ccfnt.ps weren't installed on Unix platforms.
  3130.     - The VMS module list omitted SBHC, included a non-existent GXDASH,
  3131. and had incorrect names for some of the IJG JPEG files.
  3132.     - The VMS build scripts (vms*.mak) had incorrect "boilerplate".
  3133.     - The VMS script file gssetmod.com had \r characters in it, as well
  3134. as \n characters.
  3135.     - The echogs and genarch utilities didn't return the correct exit
  3136. codes under VMS.
  3137.     - The VMS Fontmap had incorrect entries for the Courier and Charter
  3138. fonts.
  3139.     - When running under Ghostview, Ghostscript didn't drain the input
  3140. pipe.  (We fixed this with a temporary patch in gs.c; this isn't a good
  3141. solution for the longer term.)
  3142.  
  3143. Fonts
  3144. -----
  3145.  
  3146. Fixes bugs:
  3147.     - The free AvantGarde, Bookman, and Palatino font families had
  3148. incorrect FontBBox values.
  3149.     - The 'f' and 'j' in the free AvantGarde-DemiOblique,
  3150. Bookman-DemiItalic, Bookman-LightItalic, and Palatino-Italic fonts were
  3151. chopped off on the right.  (The bitmaps were chopped off in the original
  3152. BDF fonts from which these fonts were made.)  ****** THIS PROBLEM WAS NOT
  3153. ACTUALLY FIXED. ******
  3154.  
  3155. Interpreter
  3156. -----------
  3157.  
  3158. Fixes bugs:
  3159.     - gs -h and gs -v didn't print the tertiary version number correctly.
  3160.     - Binary object sequences with no strings or names didn't read in
  3161. correctly.
  3162.     - Binary object sequences that crossed an input buffer boundary
  3163. didn't read in correctly.
  3164.     - Binary object sequences read in as {[e1 .. en] e1 ... en} instead
  3165. of {[e1 ... en]}.  (New bug in 2.9.x.)
  3166.     - setpattern didn't set the current color space correctly if the
  3167. current color space wasn't a Pattern space.
  3168.     - If the current color space was an uncolored Pattern space but the
  3169. current color was a colored Pattern, currentcolor returned extra values on
  3170. the operands stack.
  3171.     - .buildfont1 in gs_type1.ps didn't force binding of the old
  3172. definition, causing ps2ascii to loop endlessly.
  3173.  
  3174. Adds a facility for writing and reading dictionaries in binary object
  3175. sequences.  This is experimental and subject to change in the future.
  3176.  
  3177. Streams
  3178. -------
  3179.  
  3180. Fixes bugs:
  3181.     - gs_run_string and ccinit didn't have any way to mark the string
  3182. as "foreign", which confused the GC.
  3183.  
  3184. Library
  3185. -------
  3186.  
  3187. Fixes bugs:
  3188.     - gxchar.h had an extra comma after the last element of the
  3189. show_width_status enum, which upset some compilers.
  3190.     - stroke and strokepath didn't correctly skip zero-length segments
  3191. if the line width was less than one pixel, or if there was a closed subpath
  3192. consisting entirely of zero-length segments.
  3193.     - strokepath sometimes incorrectly added a moveto at the end of the
  3194. path.
  3195.  
  3196. Versions before 3.0
  3197. ===================
  3198.  
  3199. See the files history*.doc.
  3200.